An open API service indexing awesome lists of open source software.

https://github.com/m-pilia/vim-pkgbuild

Vim plugin to edit PKGBUILD files
https://github.com/m-pilia/vim-pkgbuild

arch-linux pkgbuild vim-plugin

Last synced: 4 months ago
JSON representation

Vim plugin to edit PKGBUILD files

Awesome Lists containing this project

README

          

Vim plugin to edit PKGBUILD files
=====================================================================

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](https://github.com/koalaman/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](https://github.com/w0rp/ale). A settings dictionary
for [diagnostic-languageserver](https://github.com/iamcco/diagnostic-languageserver)
can be retrieved by calling `pkgbuild#diagnostic_languageserver()`.

# Install

Install the plugin with your favourite plugin manager.

# License

This software is distributed under the MIT license. The full text of the license
is available in the [LICENSE
file](https://github.com/m-pilia/vim-pkgbuild/blob/master/LICENSE) distributed
alongside the source code.