Files
oasis-linux-mirror/pkg/vis/patch/0001-Add-rc-script-detection.patch
2017-02-07 14:36:25 -08:00

27 lines
643 B
Diff

From 7a6d49b0c1bd0dcf3f0072f9be18d448821dc04f Mon Sep 17 00:00:00 2001
From: Michael Forney <mforney@mforney.org>
Date: Fri, 30 Dec 2016 20:34:04 -0800
Subject: [PATCH] Add rc script detection
---
lua/plugins/filetype.lua | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua
index e6bb83b..b687dfa 100644
--- a/lua/plugins/filetype.lua
+++ b/lua/plugins/filetype.lua
@@ -290,6 +290,9 @@ vis.ftdetect.filetypes = {
ext = { "%.sc$", "%.py$", "%.pyw$" },
mime = { "text/x-python" },
},
+ rc = {
+ ext = { "%.rc$" },
+ },
rebol = {
ext = { "%.r$", "%.reb$" },
},
--
2.11.0