mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-07-10 01:14:41 +02:00
feat: use vim.uv
everywhere instead of vim.loop
This commit is contained in:
parent
7f333f006f
commit
3a87c08cda
11 changed files with 23 additions and 23 deletions
|
@ -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,
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue