mirror of
https://github.com/sharkdp/bat
synced 2024-11-30 15:49:16 +00:00
9eaed3e3f0
* [JavaScript] Support bun in shebang for syntax highlighting --------- Co-authored-by: Keith Hall <keith-hall@users.noreply.github.com>
14 lines
555 B
Diff
Vendored
14 lines
555 B
Diff
Vendored
Submodule assets/syntaxes/01_Packages contains modified content
|
|
diff --git syntaxes/01_Packages/JavaScript/JavaScript.sublime-syntax syntaxes/01_Packages/JavaScript/JavaScript.sublime-syntax
|
|
index 05a4fed6..78a7bf55 100644
|
|
--- syntaxes/01_Packages/JavaScript/JavaScript.sublime-syntax
|
|
+++ syntaxes/01_Packages/JavaScript/JavaScript.sublime-syntax
|
|
@@ -5,7 +5,7 @@ name: JavaScript
|
|
file_extensions:
|
|
- js
|
|
- htc
|
|
-first_line_match: ^#!\s*/.*\b(node|js)\b
|
|
+first_line_match: ^#!\s*/.*\b(node|bun|js)\b
|
|
scope: source.js
|
|
variables:
|
|
bin_digit: '[01_]'
|