Skip to content

Commit 935a0fa

Browse files
committed
Add comment concerning command folding
Fix vim-latex#189
1 parent d6fae26 commit 935a0fa

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

doc/latex-suite.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1972,6 +1972,10 @@ NOTE: It is very difficult to fold commands reliably because it is very
19721972
}
19731973
< will not be folded. This is a bug which is very difficult to fix.
19741974

1975+
Similarly, a command fold will stop at the first line containing a '}',
1976+
even if this brace does not correspond to the opening brace of the
1977+
command.
1978+
19751979

19761980
See also advanced fold settings [|ls_a_co|].
19771981

doc/latex-suite.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2465,6 +2465,10 @@ and some more text
24652465
}</programlisting>
24662466
will not be folded. This is a bug which is very difficult to fix.
24672467
</para>
2468+
<para>
2469+
Similarly, a command fold will stop at the first line containing a '}',
2470+
even if this brace does not correspond to the opening brace of the command.
2471+
</para>
24682472
</note>
24692473
<para>
24702474
See also <link linkend="fold-setting-advanced">advanced fold

0 commit comments

Comments
 (0)