Set PKGBUILD and APKBUILD syntax highlighting as shell script

Both PKGBUILD and APKBUILD files are actually shell script. See
* https://wiki.archlinux.org/title/PKGBUILD
* https://wiki.alpinelinux.org/wiki/APKBUILD_Reference

Close #12445
This commit is contained in:
Biswapriyo Nath 2022-11-01 20:41:58 +05:30 committed by Don Ho
parent 6f67656f8c
commit f3f615d522
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ void Buffer::setFileName(const TCHAR *fn)
determinatedLang = L_PYTHON;
else if ((OrdinalIgnoreCaseCompareStrings(_fileName, TEXT("Rakefile")) == 0) || (OrdinalIgnoreCaseCompareStrings(_fileName, TEXT("Vagrantfile")) == 0))
determinatedLang = L_RUBY;
else if ((OrdinalIgnoreCaseCompareStrings(_fileName, TEXT("crontab")) == 0))
else if ((OrdinalIgnoreCaseCompareStrings(_fileName, TEXT("crontab")) == 0) || (OrdinalIgnoreCaseCompareStrings(_fileName, TEXT("PKGBUILD")) == 0) || (OrdinalIgnoreCaseCompareStrings(_fileName, TEXT("APKBUILD")) == 0))
determinatedLang = L_BASH;
}