feat: regenerate lsp templates after LvimUpdate (#3864)

This commit is contained in:
LostNeophyte 2023-03-06 11:15:08 +01:00 committed by GitHub
parent b5800bc3c4
commit 9f1f98312b
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23

View file

@ -60,6 +60,7 @@ function M.run_post_update()
Log:debug "Syncing core plugins" Log:debug "Syncing core plugins"
plugin_loader.reload { reload "lvim.plugins", lvim.plugins } plugin_loader.reload { reload "lvim.plugins", lvim.plugins }
plugin_loader.sync_core_plugins() plugin_loader.sync_core_plugins()
M.reset_cache() -- force cache clear and templates regen once more
if not in_headless then if not in_headless then
vim.schedule(function() vim.schedule(function()