From 7b1f313436c09d4e41ba71fa0ad91326c4e16944 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Thu, 21 Apr 2016 08:41:13 +0200 Subject: vis: add infrastructure to register custom :-commands --- 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 5480589..606ff9b 100644 --- a/vis-core.h +++ b/vis-core.h @@ -153,6 +153,7 @@ struct Vis { bool expandtab; /* whether typed tabs should be converted to spaces */ bool autoindent; /* whether indentation should be copied from previous line on newline */ Map *cmds; /* ":"-commands, used for unique prefix queries */ + Map *usercmds; /* user registered ":"-commands */ Map *options; /* ":set"-options */ Map *keymap; /* key translation before any bindings are matched */ Buffer input_queue; /* holds pending input keys */ -- cgit v1.2.3