aboutsummaryrefslogtreecommitdiff
path: root/test/functional/api/command_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/api/command_spec.lua')
-rw-r--r--test/functional/api/command_spec.lua13
1 files changed, 10 insertions, 3 deletions
diff --git a/test/functional/api/command_spec.lua b/test/functional/api/command_spec.lua
index a9ec2b6541..7eb7ee73f9 100644
--- a/test/functional/api/command_spec.lua
+++ b/test/functional/api/command_spec.lua
@@ -136,6 +136,7 @@ describe('nvim_create_user_command', function()
silent = false,
split = "",
tab = 0,
+ unsilent = false,
verbose = -1,
vertical = false,
},
@@ -170,6 +171,7 @@ describe('nvim_create_user_command', function()
silent = false,
split = "",
tab = 0,
+ unsilent = false,
verbose = -1,
vertical = false,
},
@@ -204,6 +206,7 @@ describe('nvim_create_user_command', function()
silent = false,
split = "",
tab = 0,
+ unsilent = false,
verbose = -1,
vertical = false,
},
@@ -221,10 +224,10 @@ describe('nvim_create_user_command', function()
bang = true,
line1 = 10,
line2 = 10,
- mods = "botright",
+ mods = "confirm unsilent botright",
smods = {
browse = false,
- confirm = false,
+ confirm = true,
emsg_silent = false,
hide = false,
keepalt = false,
@@ -238,6 +241,7 @@ describe('nvim_create_user_command', function()
silent = false,
split = "botright",
tab = 0,
+ unsilent = true,
verbose = -1,
vertical = false,
},
@@ -245,7 +249,7 @@ describe('nvim_create_user_command', function()
count = 10,
reg = "",
}, exec_lua [=[
- vim.api.nvim_command('botright 10CommandWithLuaCallback! h\tey ')
+ vim.api.nvim_command('unsilent botright confirm 10CommandWithLuaCallback! h\tey ')
return result
]=])
@@ -272,6 +276,7 @@ describe('nvim_create_user_command', function()
silent = false,
split = "",
tab = 0,
+ unsilent = false,
verbose = -1,
vertical = false,
},
@@ -306,6 +311,7 @@ describe('nvim_create_user_command', function()
silent = false,
split = "",
tab = 0,
+ unsilent = false,
verbose = -1,
vertical = false,
},
@@ -352,6 +358,7 @@ describe('nvim_create_user_command', function()
silent = false,
split = "",
tab = 0,
+ unsilent = false,
verbose = -1,
vertical = false,
},