Skip to content

Commit

Permalink
fix(cmdline): not delete buf when hide scrollbar cause it seems not n…
Browse files Browse the repository at this point in the history
…ecessary (#591)
  • Loading branch information
tim3nd authored Dec 16, 2024
1 parent 76230d5 commit 0046d0c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lua/blink/cmp/lib/window/scrollbar/win.lua
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ end
function scrollbar_win:hide()
self:hide_thumb()
self:hide_gutter()
if self.buf and vim.api.nvim_buf_is_valid(self.buf) then vim.api.nvim_buf_delete(self.buf, { force = true }) end
end

function scrollbar_win:_make_win(geometry, hl_group)
Expand Down

0 comments on commit 0046d0c

Please sign in to comment.