I want to write AsciiDoc documents in Emacs (more specifically Doom Emacs) with syntax highlighting.
I've tried:
- Adding
(package! adoc-mode)
to the bottom of~/.doom.d/packages.el
. - Adding
adoc-mode
to~/.doom.d/init.el
- Running
~/.emacs.d/bin/doom sync
But I still get no syntax highlighting.
Syntax highlighting for Markdown and Org-mode do work, not sure if I did something to enable that or if it worked out of the box.
Edit
Running emacs with the -Q
or --quick
option (emacs -Q
) org-mode has highlighting but markdown does not.
emacs -Q
.emacs -Q
org-mode has highlighting but markdown does not.packages.el
and runningdoom sync
is necessary to get it installed.