From 49bb93258d84236ff1e55cf2709cec9c6ca9bf23 Mon Sep 17 00:00:00 2001 From: Juni Kim Date: Thu, 26 Jan 2023 23:19:58 -0500 Subject: [PATCH] lsp changes --- after/plugin/lsp.lua | 6 ++++-- after/plugin/treesitter.lua | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) 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, }, }