http://www.methods.co.nz/asciidoc/userguide.html#_vim_syntax_highlighter
To enable syntax highlighing:
- Put a Vim autocmd in your Vim configuration file (see the example vimrc file).
- or execute the Vim command
:set syntax=asciidoc
. - or add the following line to the end of you AsciiDoc source files:
// vim: set syntax=asciidoc: