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

19 lines
406 B
Lua

-- sets fileypes for those that are not auto recognized
-- sway config
vim.filetype.add({
filename = {
['/home/spinach/.dotfiles/gui/sway/base.conf'] = 'swayconfig',
},
pattern = {
['.*/sway/.*'] = 'swayconfig',
},
})
-- calcurse notes as markdown
vim.filetype.add({
pattern = {
['/tmp/calcurse*;$HOME/.local/share/calcurse/notes/*'] = 'markdown',
},
})