Re: [O] Can I use a custom mode for org-src-lang-modes and still get syntax highlighting?

2017-10-07 Thread Nicolas Goaziou
Hello, david wen riccardi-zhu writes: > I'm trying to get syntax highlighting with org-mode source blocks > using a custom language mode for editing JavaScript. I use js2-mode > with a bunch of minor modes, rather than js-mode, which is what > org-mode uses by default. > > I was able to get org-

[O] Can I use a custom mode for org-src-lang-modes and still get syntax highlighting?

2017-10-07 Thread david wen riccardi-zhu
I'm trying to get syntax highlighting with org-mode source blocks using a custom language mode for editing JavaScript. I use js2-mode with a bunch of minor modes, rather than js-mode, which is what org-mode uses by default. I was able to get org-mode to use js2-mode for editing code by custom