mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue