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
|
-- 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…
x
Reference in New Issue
Block a user