소스 검색

feat: regenerate lsp templates after LvimUpdate (#3864)

LostNeophyte 2 년 전
부모
커밋
9f1f98312b
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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()