Stop code folding by default #7

Merged
merged 2 commits into from May 12, 2012
View
@@ -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.
- Operation, comparison and logical symbols (`=`,`==`,`===`,`!=`,etc.).
+To enable code folding add the following to your `.vimrc`.
+
+ au FileType javascript call JavaScriptFold()
+
+
###TODO
You can help me improve it too.
@@ -195,8 +195,6 @@ function! JavaScriptFold()
setl foldtext=FoldText()
endfunction
-au FileType javascript call JavaScriptFold()
-
" }}}
" Define the default highlighting.