blob: 061ab0293c38a547d240c11ea136666a5c5c3df5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#ifndef normal_hh_INCLUDED
#define normal_hh_INCLUDED
#include "optional.hh"
#include "keys.hh"
#include "string.hh"
namespace Kakoune
{
class Context;
struct NormalParams
{
int count;
char reg;
};
struct NormalCmd
{
StringView docstring;
void (*func)(Context& context, NormalParams params);
};
Optional<NormalCmd> get_normal_command(Key key);
}
#endif // normal_hh_INCLUDED
|