Skip to content

Commit 4bffa97

Browse files
committed
Note the new behaviour in the documentation.
Cherry-picked from a261c80
1 parent e986c07 commit 4bffa97

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/textobj-fold.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ KEY MAPPINGS *textobj-fold-key-mappings*
7272
Leading or trailing lines which are not in any foldings are also
7373
counted too.
7474

75+
If the current |foldmethod| is "foldmarker", ignore the lines that
76+
contain the marker.
77+
7578
Note that this object is linewise. In Visual mode, the current
7679
selection will be switched to linewise. In Operator-pending mode,
7780
affected text will be linewise.
@@ -105,9 +108,6 @@ BUGS *textobj-fold-bugs*
105108
- Even if user explicitly specify a wise for an operator by |o_v| or others,
106109
|<Plug>(textobj-fold-a)| and |<Plug>(textobj-fold-i)| are always linewise.
107110

108-
- |<Plug>(textobj-fold-a)| is not perfectly implemented. Currently, it
109-
behaves as same as |<Plug>(textobj-fold-i)|.
110-
111111
- In Visual-mode, the current selection is overriden by new selection.
112112

113113
- In Visual-mode, repeating |<Plug>(textobj-fold-a)| and other mappings don't

0 commit comments

Comments
 (0)