Skip to content

Commit 2f0b1d2

Browse files
committed
Removing deprecated folding logic
b:javascript_fold is no longer used anymore. Folding is done through `set foldmethod=syntax`
1 parent e74d758 commit 2f0b1d2

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

syntax/javascript.vim

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@ if !exists('g:javascript_conceal')
1616
let g:javascript_conceal = 0
1717
endif
1818

19-
"" Drop fold if it is set but VIM doesn't support it.
20-
let b:javascript_fold='true'
21-
if version < 600 " Don't support the old version
22-
unlet! b:javascript_fold
23-
endif
24-
2519
"" dollar sign is permittd anywhere in an identifier
2620
setlocal iskeyword+=$
2721

0 commit comments

Comments
 (0)