diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-04-11 10:24:51 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-04-11 10:26:20 +0200 |
| commit | 9ae7a429320e7db76743448e7f3b216003de8755 (patch) | |
| tree | 79bbda22b2f748613b6ac8b65a761d641654137d /editor.h | |
| parent | b7fb06da2364bdee1d224cbc5cb7afd8b402248e (diff) | |
| download | vis-9ae7a429320e7db76743448e7f3b216003de8755.tar.gz vis-9ae7a429320e7db76743448e7f3b216003de8755.tar.xz | |
Lazy initialization of :-commands
Diffstat (limited to 'editor.h')
| -rw-r--r-- | editor.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -14,6 +14,7 @@ typedef struct EditorWin EditorWin; #include "macro.h" #include "syntax.h" #include "ring-buffer.h" +#include "map.h" enum Reg { REG_a, @@ -120,6 +121,7 @@ struct Editor { int tabwidth; /* how many spaces should be used to display a tab */ 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 */ }; Editor *editor_new(Ui*); |
