Add font-locking for hash-bang lines in typescript-ts-mode.

* lisp/progmodes/typescript-ts-mode.el
(typescript-ts-mode--font-lock-settings):
Add font-lock for hash bang line.
This commit is contained in:
nverno 2023-12-09 11:35:44 -08:00 committed by Dmitry Gutov
parent db8347c8c8
commit 71bc2815cc

View file

@ -205,7 +205,7 @@ Argument LANGUAGE is either `typescript' or `tsx'."
(treesit-font-lock-rules
:language language
:feature 'comment
`((comment) @font-lock-comment-face)
`([(comment) (hash_bang_line)] @font-lock-comment-face)
:language language
:feature 'constant