diff options
author | Utkarsh Maheshwari <utkarshme96@gmail.com> | 2018-06-06 02:59:11 +0530 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2018-12-31 12:44:21 +0100 |
commit | 01555de2da79eaf6e569e5e6ee7244dbf5f709e5 (patch) | |
tree | c4cf93ea7ff63b6282d6ab596d6a155a43f9596f /src/nvim/search.c | |
parent | f102f50ebeca98365b308463c25eb2caffffba51 (diff) | |
download | rneovim-01555de2da79eaf6e569e5e6ee7244dbf5f709e5.tar.gz rneovim-01555de2da79eaf6e569e5e6ee7244dbf5f709e5.tar.bz2 rneovim-01555de2da79eaf6e569e5e6ee7244dbf5f709e5.zip |
multigrid: Allow UIs to set grid size different from window size
Diffstat (limited to 'src/nvim/search.c')
-rw-r--r-- | src/nvim/search.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/search.c b/src/nvim/search.c index f31ec7170b..e6243ad5ba 100644 --- a/src/nvim/search.c +++ b/src/nvim/search.c @@ -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; |