refactor(lsp): make the use of local aliases more consistent

This commit is contained in:
ii14
2022-07-10 01:57:35 +02:00
parent 9370e1c511
commit 8a5c7e91f2
7 changed files with 152 additions and 152 deletions

View File

@@ -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