From 0a29267514c57c438d68a3d5599bfada41363b24 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Wed, 3 Aug 2022 21:50:14 +0800 Subject: fix(completion): remove wrong FUNC_ATTR_NONNULL_ALL (#19627) --- test/functional/editor/completion_spec.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test') 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#') assert_alive() end) + + it('does not crash when using i_CTRL-X_CTRL-V to complete non-existent colorscheme', function() + feed('icolorscheme NOSUCHCOLORSCHEME') + expect('colorscheme NOSUCHCOLORSCHEME') + assert_alive() + end) end) -- cgit