Add font-locking for hash-bang lines in js-ts-mode

* lisp/progmodes/js.el (js--treesit-font-lock-settings):
Add font-lock for hash bang line.
This commit is contained in:
nverno 2023-12-09 11:28:15 -08:00 committed by Dmitry Gutov
parent 91f2ade57b
commit db8347c8c8

View file

@ -3506,7 +3506,7 @@ Check if a node type is available, then return the right indent rules."
:language 'javascript :language 'javascript
:feature 'comment :feature 'comment
'((comment) @font-lock-comment-face) '([(comment) (hash_bang_line)] @font-lock-comment-face)
:language 'javascript :language 'javascript
:feature 'constant :feature 'constant