From 917db454d9502d087b43cd1ab455616735e86f69 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Mon, 1 Apr 2024 11:03:22 +1100 Subject: Change mode_info to contain an optional NormalParams As @topisani pointed out in #5131, it is more user friendly to always provide a %val{register} and %val{count} regardless of the mode. --- src/input_handler.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/input_handler.hh') diff --git a/src/input_handler.hh b/src/input_handler.hh index 1d1404d4..2d0aa355 100644 --- a/src/input_handler.hh +++ b/src/input_handler.hh @@ -56,7 +56,7 @@ enum class InsertMode : unsigned struct ModeInfo { DisplayLine display_line; - EnvVarMap env_vars; + std::optional normal_params; }; class InputHandler : public SafeCountable -- cgit v1.2.3