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
- Host: GitHub
- URL: https://github.com/m-pilia/vim-pkgbuild
- Owner: m-pilia
- Created: 2019-05-30T14:08:35.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-01-19T17:23:42.000Z (over 5 years ago)
- Last Synced: 2025-02-28T07:05:34.344Z (over 1 year ago)
- Topics: arch-linux, pkgbuild, vim-plugin
- Language: Vim script
- Size: 19.5 KB
- Stars: 8
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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.