Skip to content

Commit

Permalink
fix(menu): close docs when readjusting menu
Browse files Browse the repository at this point in the history
fixes #124
  • Loading branch information
max397574 committed Nov 3, 2024
1 parent 5a95b84 commit dd4cdf8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/care/menu/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ function Menu:readjust_win(offset)
self.menu_window:readjust(#self.entries, width, offset)
self.reversed = self.config.sorting_direction == "away-from-cursor" and self.menu_window.position == "above"
preselect(self)
self.docs_window:close()
self:select()
end

Expand Down

0 comments on commit dd4cdf8

Please sign in to comment.