docs: update configs.md

skip-checks: true
This commit is contained in:
github-actions[bot] 2024-11-27 13:56:28 +00:00
parent 2a11b98741
commit 4ae9796c4e
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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