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:
parent
6f67656f8c
commit
f3f615d522
|
@ -222,7 +222,7 @@ void Buffer::setFileName(const TCHAR *fn)
|
||||||
determinatedLang = L_PYTHON;
|
determinatedLang = L_PYTHON;
|
||||||
else if ((OrdinalIgnoreCaseCompareStrings(_fileName, TEXT("Rakefile")) == 0) || (OrdinalIgnoreCaseCompareStrings(_fileName, TEXT("Vagrantfile")) == 0))
|
else if ((OrdinalIgnoreCaseCompareStrings(_fileName, TEXT("Rakefile")) == 0) || (OrdinalIgnoreCaseCompareStrings(_fileName, TEXT("Vagrantfile")) == 0))
|
||||||
determinatedLang = L_RUBY;
|
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;
|
determinatedLang = L_BASH;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue