Skip to content

Commit 805fd65

Browse files
committed
Add code folding documentation
1 parent 2f0b1d2 commit 805fd65

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,15 @@ Disables JSDoc syntax highlighting
5757

5858
Default Value: 0
5959

60+
```
61+
set foldmethod=syntax
62+
```
63+
64+
Enables code folding based on our syntax file.
65+
66+
Please note this can have a dramatic effect on performance and because it is a
67+
global vim option, we do not set it ourselves.
68+
6069

6170
## Concealing Characters
6271

0 commit comments

Comments
 (0)