Browse Source

lsp changes

macos
Juni Kim 2 years ago
parent
commit
49bb93258d
  1. 6
      after/plugin/lsp.lua
  2. 2
      after/plugin/treesitter.lua

6
after/plugin/lsp.lua

@ -21,10 +21,12 @@ lsp.ensure_installed({
lsp.configure("efm", { lsp.configure("efm", {
settings = { settings = {
languages = { 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) lsp.on_attach(function(client, bufnr)

2
after/plugin/treesitter.lua

@ -35,7 +35,7 @@ require 'nvim-treesitter.configs'.setup {
highlight = { highlight = {
enable = true, enable = true,
disable = { "latex" },
disable = { "latex", "perl" },
additional_vim_regex_highlighting = false, additional_vim_regex_highlighting = false,
}, },
} }
Loading…
Cancel
Save