Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop code folding by default #7

Merged
merged 2 commits into from May 12, 2012
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.markdown
Expand Up @@ -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.

Expand Down
2 changes: 0 additions & 2 deletions syntax/javascript.vim
Expand Up @@ -195,8 +195,6 @@ function! JavaScriptFold()
setl foldtext=FoldText()
endfunction

au FileType javascript call JavaScriptFold()

" }}}

" Define the default highlighting.
Expand Down