switching from autobuf to filetype commands to recognize configs and calcurse notes

main
spinach 9 months ago
parent 62ef77c478
commit d01ee98ec5

@ -3,15 +3,13 @@
-- sway config -- sway config
vim.filetype.add({ vim.filetype.add({
pattern = { pattern = {
['~/.config/sway/*'] = 'swayconfig', ['$HOME/.config/sway/*;$HOME/.dotfiles/gui/sway/*'] = 'swayconfig',
['~/.dotfiles/gui/sway/*'] = 'swayconfig',
}, },
}) })
-- calcurse notes as markdown -- calcurse notes as markdown
vim.filetype.add({ vim.filetype.add({
pattern = { pattern = {
['/tmp/calcurse*'] = 'markdown', ['/tmp/calcurse*;$HOME/.local/share/calcurse/notes/*'] = 'markdown',
['~/.local/share/calcursen/notes/*'] = 'markdown',
}, },
}) })

Loading…
Cancel
Save