mirror of
https://github.com/neovim/nvim-lspconfig
synced 2025-03-11 04:27:36 +00:00
docs: update configs.md
skip-checks: true
This commit is contained in:
parent
2a11b98741
commit
4ae9796c4e
@ -11544,7 +11544,7 @@ local function get_typescript_server_path(root_dir)
|
||||
local found_ts = ''
|
||||
local function check_dir(path)
|
||||
found_ts = util.path.join(path, 'node_modules', 'typescript', 'lib')
|
||||
if util.path.exists(found_ts) then
|
||||
if vim.loop.fs_stat(found_ts) then
|
||||
return path
|
||||
end
|
||||
end
|
||||
|
@ -11544,7 +11544,7 @@ local function get_typescript_server_path(root_dir)
|
||||
local found_ts = ''
|
||||
local function check_dir(path)
|
||||
found_ts = util.path.join(path, 'node_modules', 'typescript', 'lib')
|
||||
if util.path.exists(found_ts) then
|
||||
if vim.loop.fs_stat(found_ts) then
|
||||
return path
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user