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:
Angelo Verlain Shema 2025-03-20 00:00:44 +02:00 committed by GitHub
parent f7e2b7b679
commit c30fb5f1ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 = [