Skip to content

Commit 28110c4

Browse files
committed
refactor(lazy): remove check for vim.loop
`vim.loop` has been deprecated for a long time now and this config will only run on 0.11+, so vim.uv will be available.
1 parent e2572d1 commit 28110c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lua/peter/config/lazy.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
2-
if not (vim.uv or vim.loop).fs_stat(lazypath) then
2+
if not vim.uv.fs_stat(lazypath) then
33
local lazyrepo = "https://github.com/folke/lazy.nvim.git"
44
local out = vim.fn.system({
55
"git",

0 commit comments

Comments
 (0)