Highlight ebuild/eclass files with shell syntax
Upstream patch: https://github.com/sublimehq/Packages/pull/2541
closes #1292
commitc4bbf2886240148979f65d88f1adf548c3e5be4d
authorsharkdp <davidpeter@web.de>
dateFri 30 Oct 2020, 20:25 (6 years ago)
parent9befa81
CHANGELOG.md+1
@@ -8,6 +8,7 @@
88## Bugfixes
99
1010- Throws an error when `bat` is being used as `pager`, see #1343 (@adrian-rivera)
11+- Bash syntax highlighting not selected for `*.ebuild` and `*.eclass` files, see #1292 (@sharkdp)
1112
1213## Other
1314
assets/patches/ShellScript.sublime-syntax.patchnew file+15
@@ -0,0 +1,15 @@
1+diff --git syntaxes/01_Packages/ShellScript/Bash.sublime-syntax syntaxes/01_Packages/ShellScript/Bash.sublime-syntax
2+index e973e319..a703cef8 100644
3+--- syntaxes/01_Packages/ShellScript/Bash.sublime-syntax
4++++ syntaxes/01_Packages/ShellScript/Bash.sublime-syntax
5+@@ -30,8 +30,8 @@ file_extensions:
6+ - .zshenv
7+ - .zshrc
8+ - PKGBUILD # https://jlk.fjfi.cvut.cz/arch/manpages/man/PKGBUILD.5
9+- - .ebuild
10+- - .eclass
11++ - ebuild
12++ - eclass
13+
14+ first_line_match: |
15+ (?x)