aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/health.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/lspconfig/health.lua')
-rw-r--r--lua/lspconfig/health.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/lspconfig/health.lua b/lua/lspconfig/health.lua
index 19194af7..83ee3b7b 100644
--- a/lua/lspconfig/health.lua
+++ b/lua/lspconfig/health.lua
@@ -190,12 +190,12 @@ local function make_client_info(client, fname)
local client_info, info_lines = make_info(client)
local workspace_folders = client.workspace_folders
- fname = vim.fs.normalize(vim.loop.fs_realpath(fname) or fn.fnamemodify(fn.resolve(fname), ':p'))
+ fname = vim.fs.normalize(vim.uv.fs_realpath(fname) or fn.fnamemodify(fn.resolve(fname), ':p'))
if workspace_folders then
for _, schema in ipairs(workspace_folders) do
local matched = true
- local root_dir = vim.loop.fs_realpath(schema.name)
+ local root_dir = vim.uv.fs_realpath(schema.name)
if root_dir == nil or fname:sub(1, root_dir:len()) ~= root_dir then
matched = false
end