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

This commit is contained in:
Sergio Laín 2024-03-22 21:28:23 +01:00
parent 61f7e07e19
commit cf71f2e44e
No known key found for this signature in database
GPG key ID: 14C9B8080681777B

View file

@ -126,7 +126,7 @@ ac("BufWritePre", {
if args.match:match("^%w%w+://") then if args.match:match("^%w%w+://") then
return return
end end
local file = vim.loop.fs_realpath(args.match) or args.match local file = vim.uv.fs_realpath(args.match) or args.match
vim.fn.mkdir(vim.fn.fnamemodify(file, ":p:h"), "p") vim.fn.mkdir(vim.fn.fnamemodify(file, ":p:h"), "p")
end, end,
}) })