mirror of
https://github.com/sharkdp/bat.git
synced 2025-01-13 17:18:17 +01:00
Add support for dash shebang
This commit is contained in:
parent
93f710bdff
commit
395a169104
@ -1,8 +1,8 @@
|
|||||||
diff --git syntaxes/01_Packages/ShellScript/Bash.sublime-syntax syntaxes/01_Packages/ShellScript/Bash.sublime-syntax
|
diff --git syntaxes/01_Packages/ShellScript/Bash.sublime-syntax syntaxes/01_Packages/ShellScript/Bash.sublime-syntax
|
||||||
index e973e319..a703cef8 100644
|
index e973e319..07c170a7 100644
|
||||||
--- syntaxes/01_Packages/ShellScript/Bash.sublime-syntax
|
--- syntaxes/01_Packages/ShellScript/Bash.sublime-syntax
|
||||||
+++ syntaxes/01_Packages/ShellScript/Bash.sublime-syntax
|
+++ syntaxes/01_Packages/ShellScript/Bash.sublime-syntax
|
||||||
@@ -30,8 +30,8 @@ file_extensions:
|
@@ -30,12 +30,12 @@ file_extensions:
|
||||||
- .zshenv
|
- .zshenv
|
||||||
- .zshrc
|
- .zshrc
|
||||||
- PKGBUILD # https://jlk.fjfi.cvut.cz/arch/manpages/man/PKGBUILD.5
|
- PKGBUILD # https://jlk.fjfi.cvut.cz/arch/manpages/man/PKGBUILD.5
|
||||||
@ -13,3 +13,8 @@ index e973e319..a703cef8 100644
|
|||||||
|
|
||||||
first_line_match: |
|
first_line_match: |
|
||||||
(?x)
|
(?x)
|
||||||
|
- ^\#! .* \b(bash|zsh|sh|tcsh|ash)\b
|
||||||
|
+ ^\#! .* \b(bash|zsh|sh|tcsh|ash|dash)\b
|
||||||
|
| ^\# \s* -\*- [^*]* mode: \s* shell-script [^*]* -\*-
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
|
BIN
assets/syntaxes.bin
vendored
BIN
assets/syntaxes.bin
vendored
Binary file not shown.
Loading…
Reference in New Issue
Block a user