How can I enable syntax folding in Javascript files?

The syntax file seems to support it, controlled by a variable named
javaScript_fold, but setting it in my vimrc or on the command line
doesn't seem to do anything:

        let javaScript_fold=1

        vim -u /dev/null +"let javaScript_fold=1" file.js

What am I doing wrong?


Tobia

-- 
«A one-time pad isn't a cryptosystem: it's a state of mind.»
                                                        —Marcus Ranum

Reply via email to