diff --git a/nvim/lua/plugins/treesitter/nvim-treesitter.lua b/nvim/lua/plugins/treesitter/nvim-treesitter.lua index 93e568c..dbe94ec 100644 --- a/nvim/lua/plugins/treesitter/nvim-treesitter.lua +++ b/nvim/lua/plugins/treesitter/nvim-treesitter.lua @@ -10,13 +10,14 @@ return { end, after = function() vim.filetype.add({ - extension = { rasi = 'rasi', rofi = 'rasi', wofi = 'rasi' }, + extension = { rasi = 'rasi', rofi = 'rasi', wofi = 'rasi', env = 'conf' }, + filename = { ['.env'] = 'conf' }, pattern = { ['.*/waybar/config'] = 'jsonc', ['.*/mako/config'] = 'dosini', ['.*/kitty/.+%.conf'] = 'kitty', ['.*/hypr/.+*.conf'] = 'hyprlang', - ['%.env%.[%w_.-]+'] = 'sh', + ['%.env%.[%w_.-]+'] = 'conf', }, })