diff options
| author | Maxime Coste <mawww@kakoune.org> | 2017-06-29 07:29:32 +0100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2017-06-29 07:29:32 +0100 |
| commit | 9bbab690ba2e260bbc9e17f6cc37b5c1ba09c0dd (patch) | |
| tree | 6bf25a42c890fe57aeffd3d220da015bf28f74ed /src/normal.cc | |
| parent | cc946764ed16ea36c651aff6716c2f96e5471909 (diff) | |
| parent | b1735ae76ed730698c9b25b9534a96c625f52b03 (diff) | |
Merge remote-tracking branch 'danr/Expose-last-entered-command-in-register'
Diffstat (limited to 'src/normal.cc')
| -rw-r--r-- | src/normal.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/normal.cc b/src/normal.cc index 033eef34..57581d53 100644 --- a/src/normal.cc +++ b/src/normal.cc @@ -450,6 +450,7 @@ void command(Context& context, NormalParams params) } if (event == PromptEvent::Validate) { + RegisterManager::instance()[':'].set(context, cmdline.str()); EnvVarMap env_vars = { { "count", to_string(params.count) }, { "register", String{¶ms.reg, 1} } |
