switching from autobuf to filetype commands to recognize configs and calcurse notes
parent
aa35607099
commit
62ef77c478
@ -0,0 +1,17 @@
|
|||||||
|
-- sets fileypes for those that are not auto recognized
|
||||||
|
|
||||||
|
-- sway config
|
||||||
|
vim.filetype.add({
|
||||||
|
pattern = {
|
||||||
|
['~/.config/sway/*'] = 'swayconfig',
|
||||||
|
['~/.dotfiles/gui/sway/*'] = 'swayconfig',
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
-- calcurse notes as markdown
|
||||||
|
vim.filetype.add({
|
||||||
|
pattern = {
|
||||||
|
['/tmp/calcurse*'] = 'markdown',
|
||||||
|
['~/.local/share/calcursen/notes/*'] = 'markdown',
|
||||||
|
},
|
||||||
|
})
|
Loading…
Reference in New Issue