diff options
author | ii14 <ii14@users.noreply.github.com> | 2022-07-10 01:57:35 +0200 |
---|---|---|
committer | ii14 <ii14@users.noreply.github.com> | 2022-07-15 17:39:26 +0200 |
commit | 8a5c7e91f21b9f49c5443105e694056a65bf761e (patch) | |
tree | 47a0fd195dfd2ff6b3eeba1ef45d1f7208f6c91f /runtime/lua/vim/lsp/rpc.lua | |
parent | 9370e1c5111ee90f64260398b0623da4759f8f16 (diff) | |
download | rneovim-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.lua | 2 |
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 |