diff options
| author | delphinus <me@delphinus.dev> | 2021-08-12 14:30:49 +0900 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2021-08-12 08:47:22 +0200 |
| commit | 2156a55efafd049ca6205d442c1b63c70a495b07 (patch) | |
| tree | 0574b9ea3c068c44a61c2f7344cf8d75d1e6258f /queries/ecma | |
| parent | Update lockfile.json (diff) | |
| download | nvim-treesitter-2156a55efafd049ca6205d442c1b63c70a495b07.tar nvim-treesitter-2156a55efafd049ca6205d442c1b63c70a495b07.tar.gz nvim-treesitter-2156a55efafd049ca6205d442c1b63c70a495b07.tar.bz2 nvim-treesitter-2156a55efafd049ca6205d442c1b63c70a495b07.tar.lz nvim-treesitter-2156a55efafd049ca6205d442c1b63c70a495b07.tar.xz nvim-treesitter-2156a55efafd049ca6205d442c1b63c70a495b07.tar.zst nvim-treesitter-2156a55efafd049ca6205d442c1b63c70a495b07.zip | |
Enable to highlight shebang on JS/TS
Diffstat (limited to 'queries/ecma')
| -rw-r--r-- | queries/ecma/highlights.scm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/queries/ecma/highlights.scm b/queries/ecma/highlights.scm index 0959372af..c52274e54 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 |
