diff options
author | crupest <crupest@outlook.com> | 2023-09-26 23:19:45 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2023-09-26 23:19:45 +0800 |
commit | 576c246a206aeae467ac5d563103c89cd48cc230 (patch) | |
tree | b555f5caa7537f527c9efa93159849b20e405876 | |
parent | 8f6ebee7c0a9190ea89761bfbca6834b704be553 (diff) | |
download | crupest-576c246a206aeae467ac5d563103c89cd48cc230.tar.gz crupest-576c246a206aeae467ac5d563103c89cd48cc230.tar.bz2 crupest-576c246a206aeae467ac5d563103c89cd48cc230.zip |
Fix nvim config uv bug.
-rw-r--r-- | configs/nvim/init.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configs/nvim/init.lua b/configs/nvim/init.lua index fd6a66e..510fa49 100644 --- a/configs/nvim/init.lua +++ b/configs/nvim/init.lua @@ -2,6 +2,10 @@ vim.g.loaded_netrw = 1 vim.g.loaded_netrwPlugin = 1 +if not vim.uv then + vim.uv = vim.loop +end + local is_win = vim.fn.has("win32") ~= 0 if is_win then |