Merge pull request #7 from bigjason/master

Stop code folding by default
This commit is contained in:
Jose Elera Campana
2012-05-11 22:15:23 -07:00
2 changed files with 5 additions and 2 deletions

View File

@@ -14,6 +14,11 @@ This version of this file features the following text highlights:
- Browser, DOM and "Ajax" keywords like objects, methods, properties and others. - Browser, DOM and "Ajax" keywords like objects, methods, properties and others.
- Operation, comparison and logical symbols (`=`,`==`,`===`,`!=`,etc.). - Operation, comparison and logical symbols (`=`,`==`,`===`,`!=`,etc.).
To enable code folding add the following to your `.vimrc`.
au FileType javascript call JavaScriptFold()
###TODO ###TODO
You can help me improve it too. You can help me improve it too.

View File

@@ -195,8 +195,6 @@ function! JavaScriptFold()
setl foldtext=FoldText() setl foldtext=FoldText()
endfunction endfunction
au FileType javascript call JavaScriptFold()
" }}} " }}}
" Define the default highlighting. " Define the default highlighting.