summaryrefslogtreecommitdiff
path: root/pkg/vis/patch
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2016-12-30 20:36:39 -0800
committerMichael Forney <mforney@mforney.org>2016-12-30 20:38:28 -0800
commitb54485316f3ae62b31acdae67b3718ff805c792a (patch)
tree910d9a61ae19d4c706013b50599d2ae808d9519e /pkg/vis/patch
parentc866030cf0e1d4aa4844404c52250a068a051f26 (diff)
vis: Add rc script detection
Diffstat (limited to 'pkg/vis/patch')
-rw-r--r--pkg/vis/patch/0001-Add-rc-script-detection.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkg/vis/patch/0001-Add-rc-script-detection.patch b/pkg/vis/patch/0001-Add-rc-script-detection.patch
new file mode 100644
index 00000000..ae68eed8
--- /dev/null
+++ b/pkg/vis/patch/0001-Add-rc-script-detection.patch
@@ -0,0 +1,26 @@
+From 0375c1d0c147b9ec7e8b273044de44c6de760f81 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 819a246..9bbfadc 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
+