aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
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 ed886860..6880a1b4 100644
--- a/doc/configs.md
+++ b/doc/configs.md
@@ -6279,7 +6279,7 @@ require'lspconfig'.lua_ls.setup {
on_init = function(client)
if client.workspace_folders then
local path = client.workspace_folders[1].name
- if path ~= vim.fn.stdpath('config') and (vim.loop.fs_stat(path..'/.luarc.json') or vim.loop.fs_stat(path..'/.luarc.jsonc')) then
+ if path ~= vim.fn.stdpath('config') and (vim.uv.fs_stat(path..'/.luarc.json') or vim.uv.fs_stat(path..'/.luarc.jsonc')) then
return
end
end
diff --git a/doc/configs.txt b/doc/configs.txt
index d6167f3d..3af3baa0 100644
--- a/doc/configs.txt
+++ b/doc/configs.txt
@@ -5757,7 +5757,7 @@ require'lspconfig'.lua_ls.setup {
on_init = function(client)
if client.workspace_folders then
local path = client.workspace_folders[1].name
- if path ~= vim.fn.stdpath('config') and (vim.loop.fs_stat(path..'/.luarc.json') or vim.loop.fs_stat(path..'/.luarc.jsonc')) then
+ if path ~= vim.fn.stdpath('config') and (vim.uv.fs_stat(path..'/.luarc.json') or vim.uv.fs_stat(path..'/.luarc.jsonc')) then
return
end
end