vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 65f302daffdbea6afd36af43b1e6ae0d04aa1431 parent 5c9915aaf77d18040135cfea27f7abc3b761ba10 Author: MithicSpirit <rpc01234@gmail.com> Date: Fri, 5 Nov 2021 23:03:38 -0400 filetype: Allow ".PKGBUILD" extension for PKGBUILDs Some AUR helpers use this (e.g. paru). Diffstat:
| M | lua/plugins/filetype.lua | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua @@ -308,7 +308,7 @@ vis.ftdetect.filetypes = { ext = { "%.pike$", "%.pmod$" }, }, pkgbuild = { - ext = { "^PKGBUILD$" }, + ext = { "^PKGBUILD$", "%.PKGBUILD$" }, }, pony = { ext = { "%.pony$" },