From c0eb121a7bdb6e9edf7fb97add80a57bff1feb5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Tue, 22 May 2018 17:31:46 +0200 Subject: vis: add loadmethod option Valid values are `read`, `mmap` or `auto`. --- vis-core.h | 1 + 1 file changed, 1 insertion(+) (limited to 'vis-core.h') 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; -- cgit v1.2.3