aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorChris Bandy <bandy.chris@gmail.com>2025-04-10 22:48:31 +0000
committerGitHub <noreply@github.com>2025-04-10 15:48:31 -0700
commit4ea9083b6d3dff4ddc6da17c51334c3255b7eba5 (patch)
treeb3c094868a4942151bf8ec0d5cd87bf7cac85a92 /doc
parentdocs: update configs.md (diff)
downloadnvim-lspconfig-2.0.0.tar
nvim-lspconfig-2.0.0.tar.gz
nvim-lspconfig-2.0.0.tar.bz2
nvim-lspconfig-2.0.0.tar.lz
nvim-lspconfig-2.0.0.tar.xz
nvim-lspconfig-2.0.0.tar.zst
nvim-lspconfig-2.0.0.zip
refactor: replace vim.loop with vim.uv #3703v2.0.0
The former is deprecated in neovim 0.10. Remove the check added in 9b89ba5f158f73779cd58d0bb2783dfb40b28b0e. See: https://github.com/neovim/neovim/blob/v0.10.0/runtime/doc/deprecated.txt#L55
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