Nvim: fix off-by-one
This commit is contained in:
parent
f813d66d47
commit
cd155d3edc
@ -134,7 +134,7 @@ function! sy#util#popup_create(hunkdiff) abort
|
|||||||
\ 'relative': 'win',
|
\ 'relative': 'win',
|
||||||
\ 'row': winline(),
|
\ 'row': winline(),
|
||||||
\ 'col': offset - 1,
|
\ 'col': offset - 1,
|
||||||
\ 'width': winwidth('%') - offset,
|
\ 'width': winwidth('%') - offset + 1,
|
||||||
\ 'height': height,
|
\ 'height': height,
|
||||||
\ })
|
\ })
|
||||||
call nvim_win_set_option(s:popup_window, 'cursorline', v:false)
|
call nvim_win_set_option(s:popup_window, 'cursorline', v:false)
|
||||||
|
Loading…
Reference in New Issue
Block a user