diff options
| author | Michael Forney <mforney@mforney.org> | 2016-12-30 20:36:39 -0800 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2016-12-30 20:38:28 -0800 |
| commit | b54485316f3ae62b31acdae67b3718ff805c792a (patch) | |
| tree | 910d9a61ae19d4c706013b50599d2ae808d9519e | |
| parent | c866030cf0e1d4aa4844404c52250a068a051f26 (diff) | |
vis: Add rc script detection
| -rw-r--r-- | .gitmodules | 1 | ||||
| -rw-r--r-- | pkg/vis/patch/0001-Add-rc-script-detection.patch | 26 | ||||
| -rw-r--r-- | pkg/vis/rev | 2 |
3 files changed, 28 insertions, 1 deletions
diff --git a/.gitmodules b/.gitmodules index 2c0f2419..1260aef4 100644 --- a/.gitmodules +++ b/.gitmodules @@ -240,6 +240,7 @@ [submodule "pkg/vis/src"] path = pkg/vis/src url = https://github.com/martanne/vis + ignore = all [submodule "pkg/wayland-protocols/src"] path = pkg/wayland-protocols/src url = https://anongit.freedesktop.org/git/wayland/wayland-protocols.git 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 + 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 |
