mirror of
https://github.com/chenasraf/vim-matchup.git
synced 2026-05-18 01:38:57 +00:00
Fix scrolloff option error in neovim float, fix #138
This commit is contained in:
@@ -722,7 +722,7 @@ function! s:populate_floating_win(offscreen) " {{{1
|
||||
call nvim_win_set_height(s:float_id, l:height)
|
||||
endif
|
||||
call nvim_win_set_option(s:float_id, 'wrap', v:false)
|
||||
call nvim_win_set_option(s:float_id, 'scrolloff', 0)
|
||||
silent! call nvim_win_set_option(s:float_id, 'scrolloff', 0)
|
||||
call nvim_win_set_cursor(s:float_id, [l:lnum, 0])
|
||||
call nvim_win_set_cursor(s:float_id, [a:offscreen.lnum, 0])
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user