Skip to content

Commit 7e043f4

Browse files
committed
Update comment
1 parent 22975ee commit 7e043f4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lua/scrollview.lua

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2650,8 +2650,9 @@ local enable = function()
26502650
\ | execute "lua require('scrollview').refresh_bars_async()"
26512651
\ | endif
26522652
2653-
" Refresh scrollview when text is changed in insert mode. This way,
2654-
" scrollbars and signs will appear/hide accordingly when modifying text.
2653+
" Refresh scrollview when text is changed in insert mode (and
2654+
" scrollview_hide_on_text_intersect is set). This way, scrollbars and
2655+
" signs will appear/hide accordingly when modifying text.
26552656
autocmd TextChangedI *
26562657
\ if g:scrollview_hide_on_text_intersect
26572658
\ | execute "lua require('scrollview').refresh_bars_async()"

0 commit comments

Comments
 (0)