aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2024-11-27 13:56:28 +0000
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2024-11-27 13:56:28 +0000
commit4ae9796c4e95ca84ec77946a9f9089b8f1a3eec9 (patch)
treeb4b855f9509ea13273a9ead880a89c34146d4d19 /doc
parentrefactor: deprecate `util.path.exists` (diff)
downloadnvim-lspconfig-4ae9796c4e95ca84ec77946a9f9089b8f1a3eec9.tar
nvim-lspconfig-4ae9796c4e95ca84ec77946a9f9089b8f1a3eec9.tar.gz
nvim-lspconfig-4ae9796c4e95ca84ec77946a9f9089b8f1a3eec9.tar.bz2
nvim-lspconfig-4ae9796c4e95ca84ec77946a9f9089b8f1a3eec9.tar.lz
nvim-lspconfig-4ae9796c4e95ca84ec77946a9f9089b8f1a3eec9.tar.xz
nvim-lspconfig-4ae9796c4e95ca84ec77946a9f9089b8f1a3eec9.tar.zst
nvim-lspconfig-4ae9796c4e95ca84ec77946a9f9089b8f1a3eec9.zip
docs: update configs.md
skip-checks: true
Diffstat (limited to 'doc')
-rw-r--r--doc/configs.md2
-rw-r--r--doc/configs.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/configs.md b/doc/configs.md
index b369321f..859e33d6 100644
--- a/doc/configs.md
+++ b/doc/configs.md
@@ -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
diff --git a/doc/configs.txt b/doc/configs.txt
index b369321f..859e33d6 100644
--- a/doc/configs.txt
+++ b/doc/configs.txt
@@ -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