Explorar o código

feat: regenerate lsp templates after LvimUpdate (#3864)

LostNeophyte %!s(int64=2) %!d(string=hai) anos
pai
achega
9f1f98312b
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      lua/lvim/utils/hooks.lua

+ 1 - 0
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()