Skip to content

Commit 15cc5ba

Browse files
committed
Add documentation for scrollview_hide_on_text_intersect
1 parent 7507d78 commit 15cc5ba

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

doc/scrollview.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,17 @@ scrollview_hide_on_float_intersect *scrollview_hide_on_float_intersect*
262262
becomes hidden (not shown) when it would otherwise
263263
intersect with a floating window. Defaults to |v:false|.
264264

265+
scrollview_hide_on_text_intersect *scrollview_hide_on_text_intersect*
266+
(experimental) |Boolean| specifying whether each scrollbar or sign
267+
becomes hidden (not shown) when it would otherwise
268+
intersect with text. The functionality may not work for
269+
lines where the last character spans multiple cells
270+
(only the first cell of the character would be
271+
considered for intersection). The processing demands
272+
when enabling this option may result in noticeable lag
273+
under certain environents, especially on older hardware.
274+
Defaults to |v:false|.
275+
265276
scrollview_hover *scrollview_hover*
266277
|Boolean| specifying whether the highlighting of
267278
scrollbars and signs should change when hovering with

doc/tags

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ scrollview_folds_symbol scrollview.txt /*scrollview_folds_symbol*
8181
scrollview_hide_bar_for_insert scrollview.txt /*scrollview_hide_bar_for_insert*
8282
scrollview_hide_on_cursor_intersect scrollview.txt /*scrollview_hide_on_cursor_intersect*
8383
scrollview_hide_on_float_intersect scrollview.txt /*scrollview_hide_on_float_intersect*
84+
scrollview_hide_on_text_intersect scrollview.txt /*scrollview_hide_on_text_intersect*
8485
scrollview_hover scrollview.txt /*scrollview_hover*
8586
scrollview_include_end_region scrollview.txt /*scrollview_include_end_region*
8687
scrollview_indent_spaces_condition scrollview.txt /*scrollview_indent_spaces_condition*

0 commit comments

Comments
 (0)