diff options
Diffstat (limited to 'lua/lvim/utils/hooks.lua')
| -rw-r--r-- | lua/lvim/utils/hooks.lua | 5 | 
1 files changed, 1 insertions, 4 deletions
| diff --git a/lua/lvim/utils/hooks.lua b/lua/lvim/utils/hooks.lua index ce4335a9..bf0dac60 100644 --- a/lua/lvim/utils/hooks.lua +++ b/lua/lvim/utils/hooks.lua @@ -34,10 +34,7 @@ end  ---It also forces regenerating any template ftplugin files  ---Tip: Useful for clearing any outdated settings  function M.reset_cache() -  local impatient = _G.__luacache -  if impatient then -    impatient.clear_cache() -  end +  vim.cmd [[LuaCacheClear]]    local lvim_modules = {}    for module, _ in pairs(package.loaded) do      if module:match "lvim.core" or module:match "lvim.lsp" then | 
