This plugin provides:
- filetype detection and syntax highlighting for PKGBUILD files;
- template for empty PKGBUILD files;
- a Updpkgsums command, to update the pkgsums in the current file;
- a linter to run shellcheck on
PKGBUILD files without showing spurious errors due to PKGBUILD variables
being undefined or unused. The path to the linter executable can be retrieved
by calling
pkgbuild#shellcheck()
. The plugin also provides out-of-the-box integration with ALE. A settings dictionary for diagnostic-languageserver can be retrieved by callingpkgbuild#diagnostic_languageserver()
.
Install the plugin with your favourite plugin manager.
This software is distributed under the MIT license. The full text of the license is available in the LICENSE file distributed alongside the source code.