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
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',
},
})

Loading…
Cancel
Save