Skip to content

Commit eaed6cc

Browse files
committed
fix(cmdline): use number indexed vim.g.ui_cmdline_pos
1 parent 424053c commit eaed6cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lua/noice/ui/cmdline.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,8 @@ function M.on_render(_, buf, line, byte)
270270
},
271271
}
272272
vim.g.ui_cmdline_pos = {
273-
row = M.position.screenpos.row,
274-
col = M.position.screenpos.col - 1,
273+
M.position.screenpos.row,
274+
M.position.screenpos.col - 1,
275275
}
276276
pcall(M.fix_cursor)
277277
end

0 commit comments

Comments
 (0)