From 56a909db643b459e61230a4d4e38df25e7ad98ef Mon Sep 17 00:00:00 2001 From: damianoognissanti <97738787+damianoognissanti@users.noreply.github.com> Date: Wed, 27 Mar 2024 09:08:06 +0100 Subject: [PATCH] Update README.md When copying the new instructions (using `uv` instead of `loop`) into my config I receive the following error: ``` Error detected while processing /home/damiano/.config/nvim/init.lua: E5113: Error while calling lua chunk: /home/damiano/.config/nvim/init.lua:19: attempt to index field 'uv' (a nil value) stack traceback: /home/damiano/.config/nvim/init.lua:19: in main chunk Press ENTER or type command to continue ``` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 48f64ba..e8107a7 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ You can add the following Lua code to your `init.lua` to bootstrap **lazy.nvim** ```lua local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" -if not vim.uv.fs_stat(lazypath) then +if not vim.loop.fs_stat(lazypath) then vim.fn.system({ "git", "clone",