From 619e548dc81512d239ce4f73b6d38a38120539ea Mon Sep 17 00:00:00 2001 From: nverno Date: Sat, 9 Dec 2023 11:35:44 -0800 Subject: [PATCH] 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. --- lisp/progmodes/typescript-ts-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/typescript-ts-mode.el b/lisp/progmodes/typescript-ts-mode.el index 7998b3740b6..7f0b7236301 100644 --- a/lisp/progmodes/typescript-ts-mode.el +++ b/lisp/progmodes/typescript-ts-mode.el @@ -205,7 +205,7 @@ typescript-ts-mode--font-lock-settings (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 -- 2.34.1