aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/configs/volar.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/lspconfig/configs/volar.lua')
-rw-r--r--lua/lspconfig/configs/volar.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lspconfig/configs/volar.lua b/lua/lspconfig/configs/volar.lua
index d0fa2e4d..7628238b 100644
--- a/lua/lspconfig/configs/volar.lua
+++ b/lua/lspconfig/configs/volar.lua
@@ -2,7 +2,7 @@ local util = require 'lspconfig.util'
local function get_typescript_server_path(root_dir)
local project_root = vim.fs.find('node_modules', { path = root_dir, upward = true })[1]
- return project_root and (util.path.join(project_root, 'node_modules', 'typescript', 'lib')) or ''
+ return project_root and (util.path.join(project_root, 'typescript', 'lib')) or ''
end
-- https://github.com/johnsoncodehk/volar/blob/20d713b/packages/shared/src/types.ts