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.
This commit is contained in:
Tom Vincent
2013-08-14 07:44:11 +01:00
parent 2467883d23
commit 8414f92d96

View File

@@ -202,8 +202,6 @@ function! JavaScriptFold()
setl foldmethod=syntax
setl foldlevelstart=1
syn region foldBraces start=/{/ end=/}/ transparent fold keepend extend
setl foldtext=FoldText()
endfunction
" }}}