Pages

Wednesday, March 18, 2015

Syntax highlighting for asciidoc

Cool tip to track here.

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:

No comments:

Post a Comment