|
From: | david wen riccardi-zhu |
Subject: | [O] Can I use a custom mode for org-src-lang-modes and still get syntax highlighting? |
Date: | Sat, 07 Oct 2017 12:57:20 +0000 |
I was able to get org-mode to use js2-mode for editing code by customizing org-src-lang-modes, where I set the Cons-cell for javacript to js2.
However, syntax highlighting has stopped working in the org buffer (it works fine in the source buffer). This is with org-src-fontify-natively set to true, which the documentation suggests is the only requirement.
Is there anything I'm missing? Thank you, David -- dwrz|朱为文
[Prev in Thread] | Current Thread | [Next in Thread] |