aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/rpc.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2022-07-17 11:43:44 +0200
committerGitHub <noreply@github.com>2022-07-17 11:43:44 +0200
commitaae11865e1f74678a6415703ce1e076d195a2c26 (patch)
treea35718406068c7001bae1f3b1e7d7f74130f2030 /runtime/lua/vim/lsp/rpc.lua
parent9e7f92e59a7fbbc0e266700db1f25278eb30cb2a (diff)
parentf59c96903a61702c69a5bf23a7adb09fff435331 (diff)
downloadrneovim-aae11865e1f74678a6415703ce1e076d195a2c26.tar.gz
rneovim-aae11865e1f74678a6415703ce1e076d195a2c26.tar.bz2
rneovim-aae11865e1f74678a6415703ce1e076d195a2c26.zip
Merge #19309 from ii14/lsp_refactor_1
refactor(lsp): make the use of local aliases more consistent
Diffstat (limited to 'runtime/lua/vim/lsp/rpc.lua')
-rw-r--r--runtime/lua/vim/lsp/rpc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/lsp/rpc.lua b/runtime/lua/vim/lsp/rpc.lua
index cf74dd2b47..913eee19a2 100644
--- a/runtime/lua/vim/lsp/rpc.lua
+++ b/runtime/lua/vim/lsp/rpc.lua
@@ -11,7 +11,7 @@ local is_win = uv.os_uname().version:find('Windows')
---@param filename (string) path to check
---@returns (bool)
local function is_dir(filename)
- local stat = vim.loop.fs_stat(filename)
+ local stat = uv.fs_stat(filename)
return stat and stat.type == 'directory' or false
end