From 9f1f98312bfc919b695935ec80ba3501b6cfbab9 Mon Sep 17 00:00:00 2001 From: LostNeophyte Date: Mon, 6 Mar 2023 11:15:08 +0100 Subject: feat: regenerate lsp templates after LvimUpdate (#3864) --- lua/lvim/utils/hooks.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'lua/lvim/utils/hooks.lua') diff --git a/lua/lvim/utils/hooks.lua b/lua/lvim/utils/hooks.lua index 9f74005c..f6ce0ca4 100644 --- a/lua/lvim/utils/hooks.lua +++ b/lua/lvim/utils/hooks.lua @@ -60,6 +60,7 @@ function M.run_post_update() Log:debug "Syncing core plugins" plugin_loader.reload { reload "lvim.plugins", lvim.plugins } plugin_loader.sync_core_plugins() + M.reset_cache() -- force cache clear and templates regen once more if not in_headless then vim.schedule(function() -- cgit v1.2.3