aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/functional/editor/completion_spec.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/functional/editor/completion_spec.lua b/test/functional/editor/completion_spec.lua
index e27da0947f..6cdac3c079 100644
--- a/test/functional/editor/completion_spec.lua
+++ b/test/functional/editor/completion_spec.lua
@@ -1253,4 +1253,10 @@ describe('completion', function()
feed('ifoo#<C-X><C-U>')
assert_alive()
end)
+
+ it('does not crash when using i_CTRL-X_CTRL-V to complete non-existent colorscheme', function()
+ feed('icolorscheme NOSUCHCOLORSCHEME<C-X><C-V>')
+ expect('colorscheme NOSUCHCOLORSCHEME')
+ assert_alive()
+ end)
end)