You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PKGBUILDs are basically special Bash files, so it seems that the syntax highlighting should be nearly identical to sh with some additional special keywords.
However some things are not being highlighted correctly:
For example, the following does not get highlight properly:
_pkgname=pkg
pkgname=$_pkgname-git
$_pkgname is not highlighted. The $ is highlighted in pink, but nothing else.
Additionally if " is used in a variable's value, it is highlight pink.
variable="quoted stuff"
The quotes are highlighted pink but nothing else.
Pink makes it seem like an error but this is valid syntax.
Compare that with highlighting expanded variables inside of a function and you'll see what is expected.
The text was updated successfully, but these errors were encountered:
PKGBUILDs are basically special Bash files, so it seems that the syntax highlighting should be nearly identical to sh with some additional special keywords.
However some things are not being highlighted correctly:
For example, the following does not get highlight properly:
$_pkgname is not highlighted. The $ is highlighted in pink, but nothing else.
Additionally if " is used in a variable's value, it is highlight pink.
The quotes are highlighted pink but nothing else.
Pink makes it seem like an error but this is valid syntax.
Compare that with highlighting expanded variables inside of a function and you'll see what is expected.
The text was updated successfully, but these errors were encountered: