From 63080efa8cc6c340140455317008e1ebb5e90ec8 Mon Sep 17 00:00:00 2001 From: jdhao Date: Mon, 20 May 2024 21:52:15 +0200 Subject: [PATCH] use vim.uv instead of vim.loop --- lua/mappings.lua | 2 +- lua/plugin_specs.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/mappings.lua b/lua/mappings.lua index 28376504..fb7091e2 100644 --- a/lua/mappings.lua +++ b/lua/mappings.lua @@ -1,6 +1,6 @@ local keymap = vim.keymap local api = vim.api -local uv = vim.loop +local uv = vim.uv -- Save key strokes (now we do not need to press shift to enter command mode). keymap.set({ "n", "x" }, ";", ":") diff --git a/lua/plugin_specs.lua b/lua/plugin_specs.lua index a585ee17..613edb5f 100644 --- a/lua/plugin_specs.lua +++ b/lua/plugin_specs.lua @@ -2,7 +2,7 @@ local utils = require("utils") local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" -if not vim.loop.fs_stat(lazypath) then +if not vim.uv.fs_stat(lazypath) then vim.fn.system { "git", "clone",