diff options
author | kylo252 <[email protected]> | 2022-10-14 14:09:08 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2022-10-14 14:09:08 +0200 |
commit | d433409995250f29437831d1961346821e364292 (patch) | |
tree | a0bc600dd337dc21a56ddfaa5d136112e82f4723 /lua/lvim/utils/hooks.lua | |
parent | c94450633af035b5a577ac34c7817b65d0f6b5f1 (diff) |
feat: latest impatient updates from upstream (#3236)
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 |