switching from autobuf to filetype commands to recognize configs and calcurse notes
This commit is contained in:
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…
x
Reference in New Issue
Block a user