Skip to content

Commit d63bef6

Browse files
committed
Add code folding documentation
1 parent 5b1e201 commit d63bef6

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
@@ -55,6 +55,15 @@ Disables JSDoc syntax highlighting
5555

5656
Default Value: 0
5757

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

5968
## Concealing Characters
6069

0 commit comments

Comments
 (0)