diff options
| author | Maxime Coste <mawww@kakoune.org> | 2018-03-05 00:39:56 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2018-03-05 00:39:56 +1100 |
| commit | 6c4faf2050d94f2229bf5bb1314efb7f28da6931 (patch) | |
| tree | ace916c38f3ce9d199f17984d65b6bed85a94c5f /src | |
| parent | e4e2ed2a423771c5222ee5371d0546497cf87cbd (diff) | |
| parent | 44d381ce7952feffd556b16bb8f1cd5f9a1485e6 (diff) | |
Merge remote-tracking branch 'fsub/unused-lambda-capture'
Diffstat (limited to 'src')
| -rw-r--r-- | src/normal.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/normal.cc b/src/normal.cc index 176f8c0c..882c3986 100644 --- a/src/normal.cc +++ b/src/normal.cc @@ -1017,7 +1017,7 @@ void keep(Context& context, NormalParams params) const int main_index = std::min(context.selections().main_index(), saved_reg.size()-1); regex_prompt(context, prompt.str(), saved_reg[main_index], - [saved_reg, reg, main_index] + [saved_reg, reg] (const Regex& regex, PromptEvent event, Context& context) { if (event == PromptEvent::Abort) |
