Skip to content

Commit 48067d6

Browse files
committed
Add code folding documentation
1 parent 2f0b1d2 commit 48067d6

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

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

5858
Default Value: 0
5959

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

6172
## Concealing Characters
6273

0 commit comments

Comments
 (0)