neovim/config/lua/filetype.lua

16 lines
348 B
Lua

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