Appendix E. Vim Syntax Highlighter

Syntax highlighting is incredibly useful, in addition to making reading AsciiDoc documents much easier syntax highlighting also helps you catch AsciiDoc syntax errors as you write your documents.

If you use the Vim editor, it comes with an AsciiDoc syntax highlighter pre-included. By default, it will activate for files that use the .asciidoc or .adoc file extensions.

Alternatively, to enable syntax highlighting for the current document or other extensions: