diff options
author | bfredl <bjorn.linse@gmail.com> | 2023-09-23 18:29:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-23 18:29:19 +0200 |
commit | 93d27ea578a2d25fff1ec892d84f5e9a609eb377 (patch) | |
tree | 2628c4e354f30387a81cefde050663c0975d43bf /src/nvim/cmdexpand.c | |
parent | fcdfbb430377a82921cf1a72df97bce7952733e8 (diff) | |
parent | 3a7cb72dcbe4aaaed47999ab5afaf3d1cb8d4df8 (diff) | |
download | rneovim-93d27ea578a2d25fff1ec892d84f5e9a609eb377.tar.gz rneovim-93d27ea578a2d25fff1ec892d84f5e9a609eb377.tar.bz2 rneovim-93d27ea578a2d25fff1ec892d84f5e9a609eb377.zip |
Merge pull request #25268 from bfredl/grid_line
refactor(grid): properly namespace and separate stateful grid functions
Diffstat (limited to 'src/nvim/cmdexpand.c')
-rw-r--r-- | src/nvim/cmdexpand.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/cmdexpand.c b/src/nvim/cmdexpand.c index 9470f77ab5..1e088ec7fc 100644 --- a/src/nvim/cmdexpand.c +++ b/src/nvim/cmdexpand.c @@ -601,10 +601,10 @@ static void redraw_wildmenu(expand_T *xp, int num_matches, char **matches, int m ScreenGrid *grid = (wild_menu_showing == WM_SCROLLED) ? &msg_grid_adj : &default_grid; - grid_puts(grid, buf, row, 0, attr); + grid_puts(grid, buf, -1, row, 0, attr); if (selstart != NULL && highlight) { *selend = NUL; - grid_puts(grid, selstart, row, selstart_col, HL_ATTR(HLF_WM)); + grid_puts(grid, selstart, -1, row, selstart_col, HL_ATTR(HLF_WM)); } grid_fill(grid, row, row + 1, clen, Columns, |