Bläddra i källkod

feat: regenerate lsp templates after LvimUpdate (#3864)

LostNeophyte 2 år sedan
förälder
incheckning
9f1f98312b
1 ändrade filer med 1 tillägg och 0 borttagningar
  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()