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_DEPENDSshouldn't be a function - variable order
- unsorted comma separated value. Such as
TERMUX_PKG_RECOMMENDS="python-sentencepiece, python-numpy"should beTERMUX_PKG_RECOMMENDS="python-numpy, python-sentencepiece" - variable value. Such as:
TERMUX_PKG_AUTO_UPDATEshould betrueorfalse
- 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.