Skip to content

Commit

Permalink
fix: fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Jun 4, 2024
1 parent 5b5fa91 commit cfd7aa4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lua/noice/ui/cmdline.lua
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,9 @@ end
M.position = nil

function M.fix_cursor()
if not M.position then
return
end
local win = M.position.win
local cursor = M.position.cursor
if vim.api.nvim_win_is_valid(win) then
Expand Down

0 comments on commit cfd7aa4

Please sign in to comment.