emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

JS2 Syntax Highlighting for Source Blocks


From: CRSHCMDR
Subject: JS2 Syntax Highlighting for Source Blocks
Date: Sat, 12 Sep 2020 15:04:26 -0400

Is it possible to use js2-mode instead of js-mode for the syntax highlighting of code blocks in org-mode? The reason that I ask is that the current js-mode syntax highlighting leaves something to be desired, and is from my perspective broken. For instance after declaring a variable, the usage of that variable is no longer highlighted. You can see the difference here https://imgur.com/a/4b2LyhE.

I have tried using the ‘org-src-lang-modes, but I’m either not setting it correctly, or I’m barking up the wrong tree.

Very Respectfully,
Brandon

reply via email to

[Prev in Thread] Current Thread [Next in Thread]