From f3828efe9dcb51c29e33ff0ee7a3ffbbb8789918 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= Date: Wed, 29 Jun 2022 13:24:35 +0200 Subject: Add filetype detection for SPEC file for RPM packages building. --- lua/plugins/filetype.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lua/plugins/filetype.lua') diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua index 21c9b3b..90ebae3 100644 --- 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" }, }, -- cgit v1.2.3