From b54485316f3ae62b31acdae67b3718ff805c792a Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Fri, 30 Dec 2016 20:36:39 -0800 Subject: vis: Add rc script detection --- pkg/vis/patch/0001-Add-rc-script-detection.patch | 26 ++++++++++++++++++++++++ pkg/vis/rev | 2 +- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 pkg/vis/patch/0001-Add-rc-script-detection.patch (limited to 'pkg') 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 +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 + diff --git a/pkg/vis/rev b/pkg/vis/rev index 7f8f011e..45a4fb75 100644 --- a/pkg/vis/rev +++ b/pkg/vis/rev @@ -1 +1 @@ -7 +8 -- cgit v1.2.3