vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit e8a83717fca8c6c3100bcd131f77cb1ee935ac2c
parent d37dee8c7c1ef3cf4bf6efd30854b4032acb129c
Author: Matěj Cepl <mcepl@cepl.eu>
Date:   Wed, 29 Jun 2022 13:24:35 +0200

Add filetype detection for SPEC file for RPM packages building.

Diffstat:
Mlua/plugins/filetype.lua | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua @@ -365,6 +365,9 @@ vis.ftdetect.filetypes = { return data:match("^#.* by RouterOS") end }, + rpmspec = { + ext = { "%.spec$" }, + }, rstats = { ext = { "%.R$", "%.Rout$", "%.Rhistory$", "%.Rt$", "Rout.save", "Rout.fail" }, },