I’ve recently joined the world of AsciiDoc. I’m also the kind of developer who leverages every tool she can find. Since there is no IntelliJ plugin for AsciiDoc, it looks like I’ll have to settle for MacVim as my editor since it supports syntax highlighting of just about everything.
AsciiDoc is not a built in type for the MacVim syntax highlighter, and while AsciiDocs is nice enough to attempt to install the vim highlighting during setup, I still had to complete a few manual steps.
- Follow the installation instructions through.
- If it does not exist already, create a
~/.vimfolder for your user specific vim settings.
$ mkdir -p ~/.vim
- Copy the provided vim configuration files in their entirety from the distribution to your
$ cp -r ~/tools/asciidoc-8.6.5/vim/* ~/.vim
- Fire up MacVim and test out the syntax highlighting by opening the AsciiDoc user manual. How meta is that? :)
Ta da! Now get hacking! I mean docing!