File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ local util = require 'lspconfig.util'
2
2
3
3
local function get_typescript_server_path (root_dir )
4
4
local project_root = vim .fs .dirname (vim .fs .find (' node_modules' , { path = root_dir , upward = true })[1 ])
5
- return project_root and (project_root .. ' /typescript/lib' ) or ' '
5
+ return project_root and (project_root .. ' /node_modules/ typescript/lib' ) or ' '
6
6
end
7
7
8
8
return {
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ local util = require 'lspconfig.util'
2
2
3
3
local function get_typescript_server_path (root_dir )
4
4
local project_root = vim .fs .dirname (vim .fs .find (' node_modules' , { path = root_dir , upward = true })[1 ])
5
- return project_root and (project_root .. ' /typescript/lib' ) or ' '
5
+ return project_root and (project_root .. ' /node_modules/ typescript/lib' ) or ' '
6
6
end
7
7
8
8
-- https://github.com/vuejs/language-tools/blob/master/packages/language-server/lib/types.ts
You can’t perform that action at this time.
0 commit comments