diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-11-07 16:39:03 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-11-08 13:37:24 +0100 |
| commit | 90cde82a9d867b3c5ff756a058af31b2c6358a69 (patch) | |
| tree | b632a9cf1f30ee8b566b1f3749df99417e32c962 /vis.c | |
| parent | c407d30856f3a4af800cc2dd2f319be903381705 (diff) | |
| download | vis-90cde82a9d867b3c5ff756a058af31b2c6358a69.tar.gz vis-90cde82a9d867b3c5ff756a058af31b2c6358a69.tar.xz | |
ui: load syntax theme based on the number of supported colors
The theme to use can be overriden via the $VIS_THEME environment
variable.
$ VIS_THEME=solarized vis
Diffstat (limited to 'vis.c')
| -rw-r--r-- | vis.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -365,7 +365,6 @@ Vis *vis_new(Ui *ui) { lua_pushvalue(L, -2); /* require return value */ lua_setfield(L, -2, "lexers"); lua_setglobal(L, "vis"); - vis_theme_load(vis, "default"); } vis->ui = ui; |
