mirror of
https://github.com/jelera/vim-javascript-syntax.git
synced 2026-01-24 20:12:36 +08:00
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:
@@ -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
|
||||
|
||||
" }}}
|
||||
|
||||
Reference in New Issue
Block a user