mirror of
https://github.com/neovim/neovim.git
synced 2025-10-07 02:16:31 +00:00
multigrid: Allow UIs to set grid size different from window size
This commit is contained in:

committed by
Björn Linse

parent
f102f50ebe
commit
01555de2da
@@ -2167,7 +2167,7 @@ showmatch(
|
||||
getvcol(curwin, lpos, NULL, &vcol, NULL);
|
||||
}
|
||||
if (curwin->w_p_wrap || (vcol >= curwin->w_leftcol
|
||||
&& vcol < curwin->w_leftcol + curwin->w_width)) {
|
||||
&& vcol < curwin->w_leftcol + curwin->w_grid.Columns)) {
|
||||
mpos = *lpos; /* save the pos, update_screen() may change it */
|
||||
save_cursor = curwin->w_cursor;
|
||||
save_so = p_so;
|
||||
|
Reference in New Issue
Block a user