termux-language-server¶
Language server for some specific bash scripts:
Android Termux
Debian/Ubuntu
zsh
This language server only provides extra features which bash-language-server doesn’t support:
[x] Diagnostic:
[x] error
[x] required variables
[x] variable type: string/array/function
[x] variable values
[x] warning
[x] variable order
[x] unsorted values
[x] style check
[x]
PKGBUILD: by namcap
[x] Document Formatting:
[x] sort variables
[x] sort values
[x] Document Link:
[x]
build.sh: https://github.com/termux/termux-packages/tree/master/packages/package_name/build.sh[x]
PKGBUILD:[x] ArchLinux: https://archlinux.org/packages/package_name
[x] Windows Msys2: https://packages.msys2.org/base/package_name
[ ]
ebuild: https://packages.gentoo.org/packages/package_name
[x] Hover
[x] Completion
[x] builtin variables
[x] package names
[ ]
build.sh[x]
PKGBUILD: by pyalpm[ ]
ebuild
[ ] Code Action
[ ]
PKGBUILD[ ] generate a template by the name of directory containing
PKGBUILD, the templates comes from:[ ] customized by user
[ ] pip2pkgbuild
[ ] cpan2aur
[ ] gem2arch
[ ] arch-hs
[ ] update
.SRCINFObymakepkg --printsrcinfo > .SRCINFO[ ] update
pkgsumsbyupdpkgsums[ ] update version by a
nvcheck.tomlto tell this program where to search new version:
[package_name]
source = "github"
github = "author_name/repo_name"
use_max_tag = true
Other features:
[x] pre-commit-hooks
[x] linter
[x] formatter
Screenshots¶
Diagnostic¶
Document Link¶
Hover¶
Completion¶
How Does It Work¶
See here.