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:
parent
91f2ade57b
commit
db8347c8c8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue