diff options
| author | Maxime Coste <mawww@kakoune.org> | 2021-12-11 08:12:08 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2021-12-11 08:12:08 +1100 |
| commit | 658b6b0f1aad8dc85c2a49bb50d50e71d0174f1e (patch) | |
| tree | e6e11685df3d743497083db5d641ffd776e497c7 /src/input_handler.cc | |
| parent | 36eebbce4f803cf08c60bd10c094d06692d84195 (diff) | |
Make space a named key to correctly handle shift modifier
Diffstat (limited to 'src/input_handler.cc')
| -rw-r--r-- | src/input_handler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_handler.cc b/src/input_handler.cc index fbfadf81..ef25826b 100644 --- a/src/input_handler.cc +++ b/src/input_handler.cc @@ -1003,7 +1003,7 @@ public: } else { - if (key == ' ' and + if (key == Key::Space and not (m_completions.flags & Completions::Flags::Quoted) and // if token is quoted, this space does not end it can_auto_insert_completion()) m_line_editor.insert_from(line.char_count_to(m_completions.start), |
