summaryrefslogtreecommitdiff
path: root/src/insert_completer.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2017-11-23 12:30:24 +0800
committerMaxime Coste <mawww@kakoune.org>2017-11-23 12:30:24 +0800
commitc0cec3e7c19b14ea4fe278262200309fc33f7723 (patch)
treeb8b09d2fcfb1e998d8fa8a77cd5d4d12a045fac3 /src/insert_completer.cc
parent179a1f6aa1eca17c12bdbc06eb63a7b76a6f304d (diff)
parent66ca53466f70d566644a8d12aa24055105c2977b (diff)
Merge remote-tracking branch 'fsub/warnings'
Diffstat (limited to 'src/insert_completer.cc')
-rw-r--r--src/insert_completer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/insert_completer.cc b/src/insert_completer.cc
index 518216a3..d8730f70 100644
--- a/src/insert_completer.cc
+++ b/src/insert_completer.cc
@@ -463,7 +463,7 @@ bool InsertCompleter::setup_ifn()
try_complete(complete_filename<true>))
return true;
if (completer.mode == InsertCompleterDesc::Option and
- try_complete([&,this](const SelectionList& sels, const OptionManager& options) {
+ try_complete([&](const SelectionList& sels, const OptionManager& options) {
return complete_option(sels, options, *completer.param);
}))
return true;