Skip to content

Commit

Permalink
Update lua/lspconfig/server_configurations/volar.lua
Browse files Browse the repository at this point in the history
Co-authored-by: Raphael <glephunter@gmail.com>
  • Loading branch information
adalessa and glepnir committed Oct 9, 2022
1 parent c3dc3c2 commit 47ff815
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/lspconfig/server_configurations/volar.lua
Expand Up @@ -2,7 +2,7 @@ local util = require 'lspconfig.util'

local function get_typescript_server_path(root_dir)
local project_root = util.find_node_modules_ancestor(root_dir)
return project_root and (util.path.join(project_root, 'node_modules', 'typescript', 'lib'))
return project_root and (util.path.join(project_root, 'node_modules', 'typescript', 'lib')) or ''
or ''
end

Expand Down

0 comments on commit 47ff815

Please sign in to comment.