From 2156a55efafd049ca6205d442c1b63c70a495b07 Mon Sep 17 00:00:00 2001 From: delphinus Date: Thu, 12 Aug 2021 14:30:49 +0900 Subject: Enable to highlight shebang on JS/TS --- queries/ecma/highlights.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/queries/ecma/highlights.scm b/queries/ecma/highlights.scm index 0959372a..c52274e5 100644 --- a/queries/ecma/highlights.scm +++ b/queries/ecma/highlights.scm @@ -98,7 +98,10 @@ (true) @boolean (false) @boolean (null) @constant.builtin -(comment) @comment +[ +(comment) +(hash_bang_line) +] @comment (string) @string (regex) @punctuation.delimiter (regex_pattern) @string.regex -- cgit v1.2.3