diff --git a/lua/fzf-lua/win.lua b/lua/fzf-lua/win.lua index 908bdc02..e75be70b 100644 --- a/lua/fzf-lua/win.lua +++ b/lua/fzf-lua/win.lua @@ -512,6 +512,7 @@ function FzfWin:new(o) elseif _self and _self:hidden() then -- Clear the hidden buffers vim.api.nvim_buf_delete(_self._hidden_fzf_bufnr, { force = true }) + TSInjector.clear_cache(_self._hidden_fzf_bufnr) _self = nil end o = o or {}