diff options
Diffstat (limited to 'src/normal.hh')
| -rw-r--r-- | src/normal.hh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/normal.hh b/src/normal.hh index c35027ce..afd8840c 100644 --- a/src/normal.hh +++ b/src/normal.hh @@ -11,7 +11,13 @@ namespace Kakoune class Context; -using KeyMap = std::unordered_map<Key, std::function<void (Context& context, int param)>>; +struct NormalCmdDesc +{ + const char* docstring; + std::function<void (Context& context, int param)> func; +}; + +using KeyMap = std::unordered_map<Key, NormalCmdDesc>; extern KeyMap keymap; } |
