aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Blott2015-05-08 10:21:39 +0100
committerStephen Blott2015-05-08 10:21:39 +0100
commit571cb9447552804e57d0f453b9642de55e02f317 (patch)
treeb53b0c0eaf7f21b47909fb98c71eec66062da6cd
parentd7f53190f9f8bf477f2e32a1dd4fb12b07024f6a (diff)
downloadvimium-571cb9447552804e57d0f453b9642de55e02f317.tar.bz2
Search completion; add space after inserted text.
-rw-r--r--pages/vomnibar.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/vomnibar.coffee b/pages/vomnibar.coffee
index 5f133a21..de1e6452 100644
--- a/pages/vomnibar.coffee
+++ b/pages/vomnibar.coffee
@@ -81,7 +81,7 @@ class VomnibarUI
# and revert when not. This allows the user to select a suggestion and then continue typing.
if 0 <= @selection and @completions[@selection].insertText?
@previousInputValue ?= @input.value
- @input.value = @completions[@selection].insertText
+ @input.value = @completions[@selection].insertText + " "
else if @previousInputValue?
@input.value = @previousInputValue
@previousInputValue = null