mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-19 04:46:45 +00:00
feat: automatically detect config module changes in or oustside Neovim and reload
This commit is contained in:
parent
fbfa790d46
commit
7b272b6ed6
6 changed files with 94 additions and 8 deletions
|
@ -63,7 +63,9 @@ function M.trigger(groups, events, pattern)
|
|||
end
|
||||
Util.info(lines)
|
||||
end
|
||||
vim.api.nvim_exec_autocmds(autocmd.event, { group = autocmd.group, modeline = false })
|
||||
Util.try(function()
|
||||
vim.api.nvim_exec_autocmds(autocmd.event, { group = autocmd.group, modeline = false })
|
||||
end)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue