From eaed6cc9c06aa2013b5255349e4f26a6b17ab70f Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Thu, 12 Dec 2024 19:03:41 +0100 Subject: [PATCH] fix(cmdline): use number indexed `vim.g.ui_cmdline_pos` --- lua/noice/ui/cmdline.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/noice/ui/cmdline.lua b/lua/noice/ui/cmdline.lua index 177295c..3d00d50 100644 --- a/lua/noice/ui/cmdline.lua +++ b/lua/noice/ui/cmdline.lua @@ -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