mirror of
https://github.com/jelera/vim-javascript-syntax.git
synced 2026-01-24 20:12:36 +08:00
Merge pull request #7 from bigjason/master
Stop code folding by default
This commit is contained in:
@@ -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.
|
||||||
|
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user