mirror of
https://github.com/sharkdp/bat.git
synced 2024-12-23 23:08:54 +01:00
Highlight ebuild/eclass files with shell syntax
Upstream patch: https://github.com/sublimehq/Packages/pull/2541 closes #1292
This commit is contained in:
parent
9befa81e36
commit
c4bbf28862
@ -8,6 +8,7 @@
|
||||
## Bugfixes
|
||||
|
||||
- Throws an error when `bat` is being used as `pager`, see #1343 (@adrian-rivera)
|
||||
- Bash syntax highlighting not selected for `*.ebuild` and `*.eclass` files, see #1292 (@sharkdp)
|
||||
|
||||
## Other
|
||||
|
||||
|
15
assets/patches/ShellScript.sublime-syntax.patch
vendored
Normal file
15
assets/patches/ShellScript.sublime-syntax.patch
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
diff --git syntaxes/01_Packages/ShellScript/Bash.sublime-syntax syntaxes/01_Packages/ShellScript/Bash.sublime-syntax
|
||||
index e973e319..a703cef8 100644
|
||||
--- syntaxes/01_Packages/ShellScript/Bash.sublime-syntax
|
||||
+++ syntaxes/01_Packages/ShellScript/Bash.sublime-syntax
|
||||
@@ -30,8 +30,8 @@ file_extensions:
|
||||
- .zshenv
|
||||
- .zshrc
|
||||
- PKGBUILD # https://jlk.fjfi.cvut.cz/arch/manpages/man/PKGBUILD.5
|
||||
- - .ebuild
|
||||
- - .eclass
|
||||
+ - ebuild
|
||||
+ - eclass
|
||||
|
||||
first_line_match: |
|
||||
(?x)
|
Loading…
Reference in New Issue
Block a user