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

This commit is contained in:
spinach 2024-02-27 13:25:45 -05:00
parent 62ef77c478
commit d01ee98ec5

View File

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