diff options
author | dundargoc <gocdundar@gmail.com> | 2024-05-24 15:51:18 +0200 |
---|---|---|
committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2024-05-24 16:41:02 +0200 |
commit | 1a2e6ebc59821fc10a02dae87e3524dbf32b7b33 (patch) | |
tree | a95fcc4c98de97da49a7080f85d7c7a43efd605f /runtime/lua/vim/health.lua | |
parent | cf4723c09b3f4a0ac506f9199e4d3397fa6d9027 (diff) | |
download | rneovim-1a2e6ebc59821fc10a02dae87e3524dbf32b7b33.tar.gz rneovim-1a2e6ebc59821fc10a02dae87e3524dbf32b7b33.tar.bz2 rneovim-1a2e6ebc59821fc10a02dae87e3524dbf32b7b33.zip |
refactor: replace deprecated vim.loop with vim.uv
Diffstat (limited to 'runtime/lua/vim/health.lua')
-rw-r--r-- | runtime/lua/vim/health.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/lua/vim/health.lua b/runtime/lua/vim/health.lua index 2417709ea2..f40f04a064 100644 --- a/runtime/lua/vim/health.lua +++ b/runtime/lua/vim/health.lua @@ -349,7 +349,7 @@ function M._system(cmd, args) if jobid < 1 then local message = - string.format('Command error (job=%d): %s (in %s)', jobid, shellify(cmd), vim.loop.cwd()) + string.format('Command error (job=%d): %s (in %s)', jobid, shellify(cmd), vim.uv.cwd()) error(message) return opts.output, 1 end @@ -368,7 +368,7 @@ function M._system(cmd, args) jobid, shell_error_code, shellify(cmd), - vim.loop.cwd() + vim.uv.cwd() ) if opts.output:find('%S') then emsg = string.format('%s\noutput: %s', emsg, opts.output) |