neovim/config/lua/filetype.lua
2024-02-27 14:06:20 -05:00

16 lines
297 B
Lua

-- sets fileypes for those that are not auto recognized
-- sway config
vim.filetype.add({
pattern = {
['.*/sway/.*'] = 'swayconfig',
},
})
-- calcurse notes as markdown
vim.filetype.add({
pattern = {
['/tmp/calcurse.*;.*/calcurse/notes/.*'] = 'markdown',
},
})