diff options
Diffstat (limited to 'src/normal.hh')
| -rw-r--r-- | src/normal.hh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/normal.hh b/src/normal.hh index 9802f642..9b6693cc 100644 --- a/src/normal.hh +++ b/src/normal.hh @@ -1,8 +1,10 @@ #ifndef normal_hh_INCLUDED #define normal_hh_INCLUDED +#include "context.hh" #include "optional.hh" #include "keys.hh" +#include "keymap_manager.hh" #include "string.hh" namespace Kakoune @@ -24,6 +26,15 @@ struct NormalCmd Optional<NormalCmd> get_normal_command(Key key); +struct KeyInfo +{ + ConstArrayView<Key> keys; + StringView docstring; +}; + +String build_autoinfo_for_mapping(Context& context, KeymapMode mode, + ConstArrayView<KeyInfo> built_ins); + } #endif // normal_hh_INCLUDED |
