aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/tsserver.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/lspconfig/tsserver.lua')
-rw-r--r--lua/lspconfig/tsserver.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lspconfig/tsserver.lua b/lua/lspconfig/tsserver.lua
index a3a78a71..3a00374a 100644
--- a/lua/lspconfig/tsserver.lua
+++ b/lua/lspconfig/tsserver.lua
@@ -12,7 +12,7 @@ configs[server_name] = {
cmd = {bin_name, "--stdio"};
filetypes = {"javascript", "javascriptreact", "javascript.jsx", "typescript", "typescriptreact", "typescript.tsx"};
root_dir = function(fname)
- return util.root_pattern("tsconfig.json")(fname) or
+ return util.root_pattern("tsconfig.json")(fname) or
util.root_pattern("package.json", "jsconfig.json", ".git")(fname);
end
};