mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 09:12:07 +00:00
refactor(lsp): make the use of local aliases more consistent
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user