Skip to content

Commit

Permalink
refactor(nvim): remove vim.loop from lazy init code
Browse files Browse the repository at this point in the history
  • Loading branch information
kutsan committed Apr 20, 2024
1 parent 6ff1600 commit 95a05cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .config/nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ g.loaded_matchit = true

-- Load lazy.nvim.
local lazypath = vim.fn.stdpath('data') .. '/lazy/lazy.nvim'
if not (vim.uv or vim.loop).fs_stat(lazypath) then
if not vim.uv.fs_stat(lazypath) then
vim.fn.system({
'git',
'clone',
'--filter=blob:none',
'https://github.com/folke/lazy.nvim.git',
'--branch=stable', -- latest stable release
'--branch=stable',
lazypath,
})
end
Expand Down

0 comments on commit 95a05cd

Please sign in to comment.