Skip to content

Commit 9814582

Browse files
committed
Only use scrollview_hide_on_intersect if scrollview_hide_on_float_intersect is not set
1 parent 25b2da8 commit 9814582

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

autoload/scrollview.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ let g:scrollview_hide_on_cursor_intersect =
4040
\ get(g:, 'scrollview_hide_on_cursor_intersect', v:false)
4141
" Use the old option, scrollview_hide_on_intersect, if it's set.
4242
if has_key(g:, 'scrollview_hide_on_intersect')
43+
\ && !has_key(g:, 'scrollview_hide_on_float_intersect')
4344
let g:scrollview_hide_on_float_intersect = g:scrollview_hide_on_intersect
4445
endif
4546
let g:scrollview_hide_on_float_intersect =

0 commit comments

Comments
 (0)