aboutsummaryrefslogtreecommitdiff
path: root/vis-core.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-04-21 08:41:13 +0200
committerMarc André Tanner <mat@brain-dump.org>2016-04-21 10:01:40 +0200
commit7b1f313436c09d4e41ba71fa0ad91326c4e16944 (patch)
tree3c8e3f30bd2237f337541b3d16c2ef1d22f09914 /vis-core.h
parent59b883431996e4d52d74d8926bc48243ec9dc8be (diff)
downloadvis-7b1f313436c09d4e41ba71fa0ad91326c4e16944.tar.gz
vis-7b1f313436c09d4e41ba71fa0ad91326c4e16944.tar.xz
vis: add infrastructure to register custom :-commands
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 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 */