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", {
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)

2
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,
},
}
Loading…
Cancel
Save