aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/vimscript_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/legacy/vimscript_spec.lua')
-rw-r--r--test/functional/legacy/vimscript_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/legacy/vimscript_spec.lua b/test/functional/legacy/vimscript_spec.lua
index f59a87f824..16a1080396 100644
--- a/test/functional/legacy/vimscript_spec.lua
+++ b/test/functional/legacy/vimscript_spec.lua
@@ -12,7 +12,7 @@ describe('Vim script', function()
it('Error when if/for/while/try/function is nested too deep',function()
local screen = Screen.new(80, 24)
screen:attach()
- meths.set_option('laststatus', 2)
+ meths.set_option_value('laststatus', 2, {})
exec([[
" Deep nesting of if ... endif
func Test1()