Language server for
termux's
build.sh
and
*.subpackage.sh
.
build.sh
is a subtype of bash.
This language server only provides extra features for build.sh
which
bash-language-server
doesn't support:
- Diagnostic:
- required variables. Such as:
TERMUX_PKG_VERSION
- variable type. Such as:
TERMUX_PKG_DEPENDS
shouldn't be a function - variable value. Such as:
TERMUX_PKG_AUTO_UPDATE
should be - variable order
- unsorted comma separated value. Such as
TERMUX_PKG_RECOMMENDS="python-sentencepiece, python-numpy"
should beTERMUX_PKG_RECOMMENDS="python-numpy, python-sentencepiece"
true
orfalse
- required variables. Such as:
- Document Formatting:
- sort some variables
- sort comma separated value
- Document Link: jump to https://github.com/termux/termux-packages/tree/master/packages/package_name/build.sh
- Hover
- Completion:
Other features:
- pre-commit-hooks
- linter
- formatter
- pkgbuild-language-server:
ArchLinux's
PKGBUILD
.