From 5e8727ad1b75de366a0a80127100beea07a67f2c Mon Sep 17 00:00:00 2001 From: Emerson Ferreira Date: Mon, 20 Aug 2018 14:27:46 -0300 Subject: [PATCH] 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. --- rc/extra/void-linux.kak | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 rc/extra/void-linux.kak diff --git a/rc/extra/void-linux.kak b/rc/extra/void-linux.kak new file mode 100644 index 00000000..23a02061 --- /dev/null +++ b/rc/extra/void-linux.kak @@ -0,0 +1,4 @@ +# Void Linux package template +hook global BufCreate .*/?srcpkgs/.+/template %{ + set-option buffer filetype sh +}