Skip to content

Commit

Permalink
fix(cmdline): use number indexed vim.g.ui_cmdline_pos
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Dec 12, 2024
1 parent 424053c commit eaed6cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/noice/ui/cmdline.lua
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,8 @@ function M.on_render(_, buf, line, byte)
},
}
vim.g.ui_cmdline_pos = {
row = M.position.screenpos.row,
col = M.position.screenpos.col - 1,
M.position.screenpos.row,
M.position.screenpos.col - 1,
}
pcall(M.fix_cursor)
end
Expand Down

0 comments on commit eaed6cc

Please sign in to comment.