diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-10-12 17:09:41 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-11-08 13:37:23 +0100 |
| commit | c339bb3ae6646c3dbef8e73f41c1e797ed5ec99b (patch) | |
| tree | b27016384ad5cad67377a318f8f130fb40c3aab5 /vis-cmds.c | |
| parent | 5f5699fb3a93f2a478f3888236f7c25bc7975fbb (diff) | |
| download | vis-c339bb3ae6646c3dbef8e73f41c1e797ed5ec99b.tar.gz vis-c339bb3ae6646c3dbef8e73f41c1e797ed5ec99b.tar.xz | |
vis: experimental support for lua/lpeg based syntax highlighting
The lua based lexers are searched in the following order:
$VIS_PATH/lexers
$HOME/.vis/lexers
/usr/share/vis/lexers
followed by the standard lua package.path
Diffstat (limited to 'vis-cmds.c')
| -rw-r--r-- | vis-cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -336,7 +336,7 @@ static const char *file_open_dialog(Vis *vis, const char *pattern) { Text *txt_orig = file->text; View *view_orig = win->view; Text *txt = text_load(NULL); - View *view = view_new(txt, NULL); + View *view = view_new(txt, NULL, NULL); filename[0] = '\0'; snprintf(vis_open, sizeof(vis_open)-1, "vis-open %s", pattern ? pattern : ""); |
