diff options
author | Luca Matei Pintilie <lucafulger@gmail.com> | 2022-09-17 20:43:50 +0000 |
---|---|---|
committer | Luca Matei Pintilie <lucafulger@gmail.com> | 2022-09-17 20:43:50 +0000 |
commit | 81edb50ba26538841c86a0d7e66f458bbbae1a0a (patch) | |
tree | 135d208cafb0e3d6cda1e31f061985db2712b0ea /.config | |
parent | e9dad4bb8cbe18416a30cc8cfb75e02246ecab71 (diff) | |
download | dotfiles-81edb50ba26538841c86a0d7e66f458bbbae1a0a.tar dotfiles-81edb50ba26538841c86a0d7e66f458bbbae1a0a.tar.gz dotfiles-81edb50ba26538841c86a0d7e66f458bbbae1a0a.tar.bz2 dotfiles-81edb50ba26538841c86a0d7e66f458bbbae1a0a.tar.lz dotfiles-81edb50ba26538841c86a0d7e66f458bbbae1a0a.tar.xz dotfiles-81edb50ba26538841c86a0d7e66f458bbbae1a0a.tar.zst dotfiles-81edb50ba26538841c86a0d7e66f458bbbae1a0a.zip |
Don't use tsserver in .git folders
Diffstat (limited to '.config')
-rw-r--r-- | .config/nvim/lua/lsp.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/nvim/lua/lsp.lua b/.config/nvim/lua/lsp.lua index 85da5ff..49a6534 100644 --- a/.config/nvim/lua/lsp.lua +++ b/.config/nvim/lua/lsp.lua @@ -74,7 +74,7 @@ local lsputils = require("lspconfig").util require("lspconfig").tsserver.setup({ on_attach = on_attach, - root_dir = lsputils.root_pattern("package.json", "tsconfig.json", "jsconfig.json", ".git") + root_dir = lsputils.root_pattern("package.json", "tsconfig.json", "jsconfig.json") }) require("lspconfig").denols.setup { |