aboutsummaryrefslogtreecommitdiff
path: root/vis-core.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2018-05-22 17:31:46 +0200
committerMarc André Tanner <mat@brain-dump.org>2018-05-30 16:27:45 +0200
commitc0eb121a7bdb6e9edf7fb97add80a57bff1feb5b (patch)
tree354a0b1d8c7774c8e912ab08b46bb13ed83c95a1 /vis-core.h
parentd9b8f7bda83e746617ce1001972ba255ffdebed7 (diff)
downloadvis-c0eb121a7bdb6e9edf7fb97add80a57bff1feb5b.tar.gz
vis-c0eb121a7bdb6e9edf7fb97add80a57bff1feb5b.tar.xz
vis: add loadmethod option
Valid values are `read`, `mmap` or `auto`.
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 900f498..d8f5e1d 100644
--- a/vis-core.h
+++ b/vis-core.h
@@ -215,6 +215,7 @@ struct Vis {
Map *actions; /* registered editor actions / special keys commands */
Array actions_user; /* dynamically allocated editor actions */
lua_State *lua; /* lua context used for syntax highligthing */
+ enum TextLoadMethod load_method; /* how existing files should be loaded */
VisEvent *event;
Array operators;
Array motions;