summaryrefslogtreecommitdiff
path: root/src/input_handler.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2022-06-04 10:53:50 +1000
committerMaxime Coste <mawww@kakoune.org>2022-06-04 10:53:50 +1000
commite08383a31a1a27e928728250b83342a495b5cff4 (patch)
treea73eb7cac4a3615b064ae9704944c90093b4b238 /src/input_handler.cc
parent56bcb6b7617a5a1467615013163afd20b8b7fbbd (diff)
parent0cf71910336e07ff1bde6cf26e2fd3161f059f07 (diff)
Merge remote-tracking branch 'krobelus/shift-space'
Diffstat (limited to 'src/input_handler.cc')
-rw-r--r--src/input_handler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_handler.cc b/src/input_handler.cc
index 095d85a2..ec8ff3b4 100644
--- a/src/input_handler.cc
+++ b/src/input_handler.cc
@@ -1003,7 +1003,7 @@ public:
}
else
{
- if (key == Key::Space and
+ if ((key == Key::Space or key == shift(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),