mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-18 20:36:45 +00:00
fix: use vim.api.nvim_exec_autocmds
instead of vim.cmd[[do]]
to prevent weird vim.notify
behavior
This commit is contained in:
parent
81017b99e7
commit
b73312aa32
8 changed files with 15 additions and 14 deletions
|
@ -83,8 +83,8 @@ function M.check(start)
|
|||
Util.warn(lines)
|
||||
end
|
||||
Plugin.load()
|
||||
vim.cmd([[do User LazyRender]])
|
||||
vim.cmd([[do User LazyReload]])
|
||||
vim.api.nvim_exec_autocmds("User", { pattern = "LazyRender", modeline = false })
|
||||
vim.api.nvim_exec_autocmds("User", { pattern = "LazyReload", modeline = false })
|
||||
end)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue