🚀 perf(nvim): use vim.uv instead of vim.loop
This commit is contained in:
parent
b1c36b620c
commit
b7553364c6
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
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
|
||||
-- bootstrap lazy.nvim
|
||||
-- stylua: ignore
|
||||
vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", "--branch=stable",
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
"prefix": "autocmd (Filetype)"
|
||||
},
|
||||
"check if file exists": {
|
||||
"body": "local fileExists = vim.loop.fs_stat(\"${1:filepath}\") ~= nil",
|
||||
"body": "local fileExists = vim.uv.fs_stat(\"${1:filepath}\") ~= nil",
|
||||
"prefix": "check if file exists"
|
||||
},
|
||||
"keymap": {
|
||||
|
|
Loading…
Add table
Reference in a new issue