File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 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'
22
33local function get_typescript_server_path (root_dir )
44 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 ' '
66end
77
88return {
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ local util = require 'lspconfig.util'
22
33local function get_typescript_server_path (root_dir )
44 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 ' '
66end
77
88-- 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