emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Javascript Syntax Highlighting
       [not found] <b596d8db-479f-44df-be42-149bfa68c1ed@Spark>
@ 2020-09-12  5:38 ` CRSHCMDR
  0 siblings, 0 replies; only message in thread
From: CRSHCMDR @ 2020-09-12  5:38 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 559 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 873 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-09-12 19:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <b596d8db-479f-44df-be42-149bfa68c1ed@Spark>
2020-09-12  5:38 ` Javascript Syntax Highlighting CRSHCMDR

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).