diff --git a/after/plugin/lsp.lua b/after/plugin/lsp.lua index c2f3641..1729320 100644 --- a/after/plugin/lsp.lua +++ b/after/plugin/lsp.lua @@ -21,10 +21,12 @@ lsp.ensure_installed({ lsp.configure("efm", { settings = { languages = { - sh = "shellcheck -x" + sh = "shellcheck -x", + bash = "shellcheck -x", + zsh = "shellcheck -x", } }, - filetypes = { "sh" } + filetypes = { "sh", "bash", "zsh" } }) lsp.on_attach(function(client, bufnr) diff --git a/after/plugin/treesitter.lua b/after/plugin/treesitter.lua index e203f05..e69b2d4 100644 --- a/after/plugin/treesitter.lua +++ b/after/plugin/treesitter.lua @@ -35,7 +35,7 @@ require 'nvim-treesitter.configs'.setup { highlight = { enable = true, - disable = { "latex" }, + disable = { "latex", "perl" }, additional_vim_regex_highlighting = false, }, }