aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/rpc.lua
diff options
context:
space:
mode:
authorii14 <ii14@users.noreply.github.com>2022-07-10 01:57:35 +0200
committerii14 <ii14@users.noreply.github.com>2022-07-15 17:39:26 +0200
commit8a5c7e91f21b9f49c5443105e694056a65bf761e (patch)
tree47a0fd195dfd2ff6b3eeba1ef45d1f7208f6c91f /runtime/lua/vim/lsp/rpc.lua
parent9370e1c5111ee90f64260398b0623da4759f8f16 (diff)
downloadrneovim-8a5c7e91f21b9f49c5443105e694056a65bf761e.tar.gz
rneovim-8a5c7e91f21b9f49c5443105e694056a65bf761e.tar.bz2
rneovim-8a5c7e91f21b9f49c5443105e694056a65bf761e.zip
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