diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-10-09 10:31:25 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-10-14 10:33:26 +0200 |
| commit | 9e391f5e3b2baaee0bf73e5273daf84be8a76ce2 (patch) | |
| tree | e15479ec06d6b8c2eb83a2cd8fd1dd0125eabb00 /vis.c | |
| parent | d05b8805325c2d1836c1a60280bb097340bbd03f (diff) | |
| download | vis-9e391f5e3b2baaee0bf73e5273daf84be8a76ce2.tar.gz vis-9e391f5e3b2baaee0bf73e5273daf84be8a76ce2.tar.xz | |
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
Diffstat (limited to 'vis.c')
| -rw-r--r-- | vis.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |
