Skip to content

Commit 8414f92

Browse files
committed
Removes dangling FoldText() call
Without this, fold comments were being displayed as: +-- 6 lines folded ... whereas, I'd expect something like: +--- 6 lines: .state('causes', { ... which this fix achieves. Should also resolve #14.
1 parent 2467883 commit 8414f92

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

syntax/javascript.vim

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,6 @@ function! JavaScriptFold()
202202
setl foldmethod=syntax
203203
setl foldlevelstart=1
204204
syn region foldBraces start=/{/ end=/}/ transparent fold keepend extend
205-
206-
setl foldtext=FoldText()
207205
endfunction
208206

209207
" }}}

0 commit comments

Comments
 (0)