diff --git a/config/lua/filetype.lua b/config/lua/filetype.lua index cc346e0..ea36c3e 100644 --- a/config/lua/filetype.lua +++ b/config/lua/filetype.lua @@ -2,9 +2,6 @@ -- sway config vim.filetype.add({ - filename = { - ['/home/spinach/.dotfiles/gui/sway/base.conf'] = 'swayconfig', - }, pattern = { ['.*/sway/.*'] = 'swayconfig', }, @@ -13,6 +10,6 @@ vim.filetype.add({ -- calcurse notes as markdown vim.filetype.add({ pattern = { - ['/tmp/calcurse*;$HOME/.local/share/calcurse/notes/*'] = 'markdown', + ['/tmp/calcurse.*;.*/calcurse/notes/.*'] = 'markdown', }, })