Merge remote-tracking branch 'krobelus/cleanup'
This commit is contained in:
commit
6828c9cb4d
|
@ -1452,7 +1452,7 @@ KeymapMode parse_keymap_mode(StringView str, const KeymapManager::UserModeList&
|
||||||
return (KeymapMode)(std::distance(user_modes.begin(), it) + offset);
|
return (KeymapMode)(std::distance(user_modes.begin(), it) + offset);
|
||||||
}
|
}
|
||||||
|
|
||||||
static constexpr Array<StringView, 8> modes = { "normal", "insert", "menu", "prompt", "goto", "view", "user", "object" };
|
static constexpr auto modes = make_array<StringView>({ "normal", "insert", "menu", "prompt", "goto", "view", "user", "object" });
|
||||||
|
|
||||||
const CommandDesc debug_cmd = {
|
const CommandDesc debug_cmd = {
|
||||||
"debug",
|
"debug",
|
||||||
|
|
|
@ -34,7 +34,6 @@ protected:
|
||||||
};
|
};
|
||||||
|
|
||||||
// static value register, which can be modified
|
// static value register, which can be modified
|
||||||
// using operator=, so should be user modifiable
|
|
||||||
class StaticRegister : public Register
|
class StaticRegister : public Register
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user