aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/log.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/log.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/log.lua')
-rw-r--r--runtime/lua/vim/lsp/log.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/lua/vim/lsp/log.lua b/runtime/lua/vim/lsp/log.lua
index 3d5bc06c3f..07d0500797 100644
--- a/runtime/lua/vim/lsp/log.lua
+++ b/runtime/lua/vim/lsp/log.lua
@@ -31,7 +31,7 @@ do
end
end
- local path_sep = vim.loop.os_uname().version:match('Windows') and '\\' or '/'
+ local path_sep = vim.uv.os_uname().version:match('Windows') and '\\' or '/'
---@private
local function path_join(...)
return table.concat(vim.tbl_flatten({ ... }), path_sep)
@@ -68,7 +68,7 @@ do
return false
end
- local log_info = vim.loop.fs_stat(logfilename)
+ local log_info = vim.uv.fs_stat(logfilename)
if log_info and log_info.size > 1e9 then
local warn_msg = string.format(
'LSP client log is large (%d MB): %s',