feat: use vim.uv everywhere instead of vim.loop
This commit is contained in:
11 files changed
+23
-23
No files matched your search
@@ -109,7 +109,7 @@ vim.api.nvim_create_autocmd({ "BufWritePre" }, {
|
||||
if event.match:match("^%w%w+://") then
|
||||
return
|
||||
end
|
||||
local file = vim.loop.fs_realpath(event.match) or event.match
|
||||
local file = vim.uv.fs_realpath(event.match) or event.match
|
||||
vim.fn.mkdir(vim.fn.fnamemodify(file, ":p:h"), "p")
|
||||
end,
|
||||
})
|
||||
Reference in new issue
Block a user