aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/health.lua
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2023-06-03 11:06:00 +0100
committerGitHub <noreply@github.com>2023-06-03 12:06:00 +0200
commit2db719f6c2b677fcbc197b02fe52764a851523b2 (patch)
tree648885f655ea6eea2d6b5ad9409bc18c3b49e0f7 /runtime/lua/vim/lsp/health.lua
parentc65e2203f70cd5d66fcb8ffb26f8cef38f50e04f (diff)
downloadrneovim-2db719f6c2b677fcbc197b02fe52764a851523b2.tar.gz
rneovim-2db719f6c2b677fcbc197b02fe52764a851523b2.tar.bz2
rneovim-2db719f6c2b677fcbc197b02fe52764a851523b2.zip
feat(lua): rename vim.loop -> vim.uv (#22846)
Diffstat (limited to 'runtime/lua/vim/lsp/health.lua')
-rw-r--r--runtime/lua/vim/lsp/health.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/lsp/health.lua b/runtime/lua/vim/lsp/health.lua
index 6ca468393e..8817bb71de 100644
--- a/runtime/lua/vim/lsp/health.lua
+++ b/runtime/lua/vim/lsp/health.lua
@@ -22,7 +22,7 @@ function M.check()
local log_path = vim.lsp.get_log_path()
report_info(string.format('Log path: %s', log_path))
- local log_file = vim.loop.fs_stat(log_path)
+ local log_file = vim.uv.fs_stat(log_path)
local log_size = log_file and log_file.size or 0
local report_fn = (log_size / 1000000 > 100 and report_warn or report_info)