Skip to content

Commit

Permalink
use vim.uv instead of vim.loop
Browse files Browse the repository at this point in the history
  • Loading branch information
jdhao committed May 20, 2024
1 parent 601396f commit be3d134
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lua/mappings.lua
Original file line number Diff line number Diff line change
@@ -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" }, ";", ":")
Expand Down
2 changes: 1 addition & 1 deletion lua/plugin_specs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit be3d134

Please sign in to comment.