From 9e391f5e3b2baaee0bf73e5273daf84be8a76ce2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Fri, 9 Oct 2015 10:31:25 +0200 Subject: ui: refactor syntax style definitions Styles can now be specified as strings which will make them easier to specify from outside the editor. The following style attributes can be given in a comma separated list: bold italics underlined fore:color back:color where color is either a hex value of the form #aabbcc or one of the predefined colors: black red green yellow blue magenta cyan white --- vis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vis.c') diff --git a/vis.c b/vis.c index 351ad54..e686b73 100644 --- a/vis.c +++ b/vis.c @@ -2758,7 +2758,7 @@ int main(int argc, char *argv[]) { die("Could not load bindings for mode: %s\n", mode->name); } - if (!(vis = editor_new(ui_curses_new(colors)))) + if (!(vis = editor_new(ui_curses_new()))) die("Could not allocate editor core\n"); vis->mode_prev = vis->mode = config->mode; -- cgit v1.2.3