Use shell script language for APKBUILD files (#27099)
`APKBUILD` files are similar to `PKGBUILD` used by arch linux, but are used to build alpine linux packages: https://wiki.alpinelinux.org/wiki/APKBUILD_Reference Release Notes: - Added recognition for `APKBUILD` files as "Shell Script".
This commit is contained in:
parent
f7e2b7b679
commit
c30fb5f1ec
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
name = "Shell Script"
|
name = "Shell Script"
|
||||||
code_fence_block_name = "bash"
|
code_fence_block_name = "bash"
|
||||||
grammar = "bash"
|
grammar = "bash"
|
||||||
path_suffixes = ["sh", "bash", "bashrc", "bash_profile", "bash_aliases", "bash_logout", "bats", "profile", "zsh", "zshrc", "zshenv", "zsh_profile", "zsh_aliases", "zsh_histfile", "zlogin", "zprofile", ".env", "PKGBUILD"]
|
path_suffixes = ["sh", "bash", "bashrc", "bash_profile", "bash_aliases", "bash_logout", "bats", "profile", "zsh", "zshrc", "zshenv", "zsh_profile", "zsh_aliases", "zsh_histfile", "zlogin", "zprofile", ".env", "PKGBUILD", "APKBUILD"]
|
||||||
line_comments = ["# "]
|
line_comments = ["# "]
|
||||||
first_line_pattern = '^#!.*\b(?:ash|bash|bats|dash|sh|zsh)\b'
|
first_line_pattern = '^#!.*\b(?:ash|bash|bats|dash|sh|zsh)\b'
|
||||||
brackets = [
|
brackets = [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue