From 8414f92d96ae51f52dd50cf1fe10b8f0e98063a3 Mon Sep 17 00:00:00 2001 From: Tom Vincent Date: Wed, 14 Aug 2013 07:44:11 +0100 Subject: [PATCH] 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. --- syntax/javascript.vim | 2 -- 1 file changed, 2 deletions(-) diff --git a/syntax/javascript.vim b/syntax/javascript.vim index 8198448..59acb7b 100644 --- a/syntax/javascript.vim +++ b/syntax/javascript.vim @@ -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 " }}}