Add support for Void Linux package templates

These templates are simple shell scripts, similar to PKGBUILDs.
They reside in srcpkgs, so we can use this to identify if
`template` really is a Void Linux package template.
This commit is contained in:
Emerson Ferreira 2018-08-20 14:27:46 -03:00
parent 8a99a9ea3d
commit 5e8727ad1b
No known key found for this signature in database
GPG Key ID: 1E66AC7F1531C726

4
rc/extra/void-linux.kak Normal file
View File

@ -0,0 +1,4 @@
# Void Linux package template
hook global BufCreate .*/?srcpkgs/.+/template %{
set-option buffer filetype sh
}