Wednesday, March 18, 2015

Syntax highlighting for asciidoc

Cool tip to track here.

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: