summaryrefslogtreecommitdiff
path: root/pkg/vis/patch/0001-Add-rc-script-detection.patch
blob: fbe2a36ab7f5edf576b2d0fcce17f58a24e4c390 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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