edlanglois / vim-pkgbuild

Vim plugin to edit PKGBUILD files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 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 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 distributed alongside the source code.

About

Vim plugin to edit PKGBUILD files


Languages

Language:Vim Script 58.6%Language:Shell 41.4%