🚀 perf(nvim): use vim.uv instead of vim.loop

This commit is contained in:
Sergio Laín 2024-06-30 02:49:35 +02:00
parent b1c36b620c
commit b7553364c6
No known key found for this signature in database
GPG key ID: 8429B2EE312F8150
2 changed files with 2 additions and 2 deletions

View file

@ -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",

View file

@ -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": {