mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-10 15:56:35 -04:00
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:
parent
db8347c8c8
commit
71bc2815cc
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue