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:
@@ -205,7 +205,7 @@ Argument LANGUAGE is either `typescript' or `tsx'."
|
|||||||
(treesit-font-lock-rules
|
(treesit-font-lock-rules
|
||||||
:language language
|
:language language
|
||||||
:feature 'comment
|
:feature 'comment
|
||||||
`((comment) @font-lock-comment-face)
|
`([(comment) (hash_bang_line)] @font-lock-comment-face)
|
||||||
|
|
||||||
:language language
|
:language language
|
||||||
:feature 'constant
|
:feature 'constant
|
||||||
|
|||||||
Reference in New Issue
Block a user