aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornverno2023-12-09 11:35:44 -0800
committerDmitry Gutov2023-12-10 04:50:06 +0200
commit71bc2815ccdf443d49865ea913048658a6634823 (patch)
tree864a20401b58f3ba938ca4908c7dcbd86449e862
parentdb8347c8c87c774f2d60ee9fce65b20ef5743a44 (diff)
downloademacs-71bc2815ccdf443d49865ea913048658a6634823.tar.gz
emacs-71bc2815ccdf443d49865ea913048658a6634823.zip
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.
-rw-r--r--lisp/progmodes/typescript-ts-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/typescript-ts-mode.el b/lisp/progmodes/typescript-ts-mode.el
index 0fbac709c63..bcc08511337 100644
--- a/lisp/progmodes/typescript-ts-mode.el
+++ b/lisp/progmodes/typescript-ts-mode.el
@@ -205,7 +205,7 @@ Argument LANGUAGE is either `typescript' or `tsx'."
205 (treesit-font-lock-rules 205 (treesit-font-lock-rules
206 :language language 206 :language language
207 :feature 'comment 207 :feature 'comment
208 `((comment) @font-lock-comment-face) 208 `([(comment) (hash_bang_line)] @font-lock-comment-face)
209 209
210 :language language 210 :language language
211 :feature 'constant 211 :feature 'constant