summaryrefslogtreecommitdiff
path: root/src/input_handler.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2018-11-25 23:01:02 +1100
committerMaxime Coste <mawww@kakoune.org>2018-11-25 23:01:02 +1100
commit31d3cef0933f81795afa8eaad76b34c206b4d056 (patch)
treea366ff179e7dcb24ddfbc8f203b80e9da0bf19c5 /src/input_handler.cc
parentbef7683e1bbccf61a6c4841bbb202233e8370d33 (diff)
parent21e93ebc11d55e5bb7d2953bba9f72be1f880abf (diff)
Merge remote-tracking branch 'lenormf/rename-auto_complete'
Diffstat (limited to 'src/input_handler.cc')
-rw-r--r--src/input_handler.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input_handler.cc b/src/input_handler.cc
index 1964e116..ade87d04 100644
--- a/src/input_handler.cc
+++ b/src/input_handler.cc
@@ -743,7 +743,7 @@ public:
: InputMode(input_handler), m_prompt(prompt.str()), m_prompt_face(face),
m_empty_text{std::move(emptystr)},
m_flags(flags), m_completer(std::move(completer)), m_callback(std::move(callback)),
- m_auto_complete{context().options()["auto_complete"].get<AutoComplete>() & AutoComplete::Prompt},
+ m_auto_complete{context().options()["autocomplete"].get<AutoComplete>() & AutoComplete::Prompt},
m_idle_timer{TimePoint::max(), context().flags() & Context::Flags::Draft ?
Timer::Callback{} : [this](Timer&) {
if (m_auto_complete and m_refresh_completion_pending)
@@ -1123,7 +1123,7 @@ public:
m_restore_cursor(mode == InsertMode::Append),
m_edition(context()),
m_completer(context()),
- m_auto_complete{context().options()["auto_complete"].get<AutoComplete>() & AutoComplete::Insert},
+ m_auto_complete{context().options()["autocomplete"].get<AutoComplete>() & AutoComplete::Insert},
m_disable_hooks{context().hooks_disabled(), context().hooks_disabled()},
m_idle_timer{TimePoint::max(), context().flags() & Context::Flags::Draft ?
Timer::Callback{} : [this](Timer&) {