aboutsummaryrefslogtreecommitdiff
path: root/vis-core.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-01-28 23:02:19 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-01-30 18:36:53 +0100
commit979ab795bc9d19524be524c79265c6b952199a22 (patch)
treec0635271327ffa59cd811c770d6e6f1adf9ac353 /vis-core.h
parent603a2d2e78d1f1dd71a2f1a7f4560e0816e3dd32 (diff)
downloadvis-979ab795bc9d19524be524c79265c6b952199a22.tar.gz
vis-979ab795bc9d19524be524c79265c6b952199a22.tar.xz
Improve Lua error reporting
Display Lua errors in a dedicated window/file. A typo or missing dependency (e.g. lpeg) in visrc.lua will no longer silently fail without any indication. The Lua integration in view.h is not yet converted.
Diffstat (limited to 'vis-core.h')
-rw-r--r--vis-core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vis-core.h b/vis-core.h
index 9010ea4..91bdf58 100644
--- a/vis-core.h
+++ b/vis-core.h
@@ -132,6 +132,7 @@ struct Vis {
File *search_file; /* special internal file used to store /,? search prompt */
Win *windows; /* all windows currently managed by this editor instance */
Win *win; /* currently active/focused window */
+ Win *message_window; /* special window to display multi line messages */
Register registers[VIS_REG_INVALID]; /* registers used for yank and put */
Macro macros[VIS_MACRO_INVALID]; /* recorded macros */
Macro *recording, *last_recording; /* currently (if non NULL) and least recently recorded macro */