diff options
| author | Frank LENORMAND <lenormf@gmail.com> | 2018-07-19 11:10:10 +0300 |
|---|---|---|
| committer | Frank LENORMAND <lenormf@gmail.com> | 2018-07-19 18:57:33 +0300 |
| commit | 0b8899d1d4624eff20829d7090616412120fd3d3 (patch) | |
| tree | dd5a8c75fa859f39e96118ff0036c311ef50ee71 /src/input_handler.cc | |
| parent | c58457a3c03c4f9ebd6db51e53720aac9655cd21 (diff) | |
src: Rename `auto_complete` to `autocomplete`
Removing the underscore seems to make the option name more
in line with the others (even though some do use a separator,
e.g. `disabled_hooks`).
Diffstat (limited to 'src/input_handler.cc')
| -rw-r--r-- | src/input_handler.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input_handler.cc b/src/input_handler.cc index 11f2d5e3..239db2de 100644 --- a/src/input_handler.cc +++ b/src/input_handler.cc @@ -716,7 +716,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) @@ -1092,7 +1092,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&) { |
