summaryrefslogtreecommitdiff
path: root/pkg/vis
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/vis')
-rw-r--r--pkg/vis/gen.rc4
-rw-r--r--pkg/vis/patch/0001-Set-default-theme-to-dark-16.patch25
-rw-r--r--pkg/vis/patch/0001-Set-default-theme-to-default-16.patch25
-rw-r--r--pkg/vis/rev2
m---------pkg/vis/src0
5 files changed, 29 insertions, 27 deletions
diff --git a/pkg/vis/gen.rc b/pkg/vis/gen.rc
index 7c799b72..80749c60 100644
--- a/pkg/vis/gen.rc
+++ b/pkg/vis/gen.rc
@@ -1,8 +1,10 @@
version=v0.2-539-g37d98f3
cflags\
'-std=c99' \
- -D 'CONFIG_LUA=1' \
+ -D 'CONFIG_ACL=0' \
-D 'CONFIG_LPEG=1' \
+ -D 'CONFIG_LUA=1' \
+ -D 'CONFIG_SELINUX=0' \
-D '_POSIX_C_SOURCE=200809L' \
-D '_XOPEN_SOURCE=700' \
-D 'VERSION=''"'$version'"''' \
diff --git a/pkg/vis/patch/0001-Set-default-theme-to-dark-16.patch b/pkg/vis/patch/0001-Set-default-theme-to-dark-16.patch
deleted file mode 100644
index 39ad8387..00000000
--- a/pkg/vis/patch/0001-Set-default-theme-to-dark-16.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 29891dd5402ef6d9d3a4e10e69fe9d2e953cd34b Mon Sep 17 00:00:00 2001
-From: Michael Forney <mforney@mforney.org>
-Date: Fri, 18 Nov 2016 21:53:25 -0800
-Subject: [PATCH] Set default theme to dark-16
-
----
- lua/visrc.lua | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/lua/visrc.lua b/lua/visrc.lua
-index 13bd7f7..e308fc3 100644
---- a/lua/visrc.lua
-+++ b/lua/visrc.lua
-@@ -5,7 +5,7 @@ require('plugins/textobject-lexer')
-
- vis.events.subscribe(vis.events.INIT, function()
- -- Your global configuration options
-- vis:command("set theme ".. (vis.ui.colors <= 16 and "default-16" or "default-256"))
-+ vis:command("set theme default-16")
- end)
-
- vis.events.subscribe(vis.events.WIN_OPEN, function(win)
---
-2.11.0
-
diff --git a/pkg/vis/patch/0001-Set-default-theme-to-default-16.patch b/pkg/vis/patch/0001-Set-default-theme-to-default-16.patch
new file mode 100644
index 00000000..a47fd857
--- /dev/null
+++ b/pkg/vis/patch/0001-Set-default-theme-to-default-16.patch
@@ -0,0 +1,25 @@
+From 96c37c8e8b2b3be1620033e44ead62f1c8c953cb Mon Sep 17 00:00:00 2001
+From: Michael Forney <mforney@mforney.org>
+Date: Fri, 18 Nov 2016 21:53:25 -0800
+Subject: [PATCH] Set default theme to default-16
+
+---
+ lua/vis-std.lua | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lua/vis-std.lua b/lua/vis-std.lua
+index ff5469a..d3a8760 100644
+--- a/lua/vis-std.lua
++++ b/lua/vis-std.lua
+@@ -19,7 +19,7 @@ vis.events.subscribe(vis.events.INIT, function()
+ vis.lexers = require('lexer')
+ end
+
+- vis:command("set theme ".. (vis.ui.colors <= 16 and "default-16" or "default-256"))
++ vis:command("set theme default-16")
+ end)
+
+ vis.events.subscribe(vis.events.THEME_CHANGE, function(name)
+--
+2.11.0
+
diff --git a/pkg/vis/rev b/pkg/vis/rev
index b8626c4c..7ed6ff82 100644
--- a/pkg/vis/rev
+++ b/pkg/vis/rev
@@ -1 +1 @@
-4
+5
diff --git a/pkg/vis/src b/pkg/vis/src
-Subproject 5b689baf18ca5e1feec1fc129d8af19f9c987c5
+Subproject 804741d4f869552981345bcdc0fd2cf4f472b89