From cd155d3edc52ff2a6197bd57a08a32d4288a8a9a Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Wed, 14 Aug 2019 15:48:08 +0200 Subject: [PATCH] Nvim: fix off-by-one --- autoload/sy/util.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/sy/util.vim b/autoload/sy/util.vim index 6fccbae..1a92eee 100644 --- a/autoload/sy/util.vim +++ b/autoload/sy/util.vim @@ -134,7 +134,7 @@ function! sy#util#popup_create(hunkdiff) abort \ 'relative': 'win', \ 'row': winline(), \ 'col': offset - 1, - \ 'width': winwidth('%') - offset, + \ 'width': winwidth('%') - offset + 1, \ 'height': height, \ }) call nvim_win_set_option(s:popup_window, 'cursorline', v:false)