From f94f75dc0512def7fbfdfe100eea2dab3352d61f Mon Sep 17 00:00:00 2001 From: Gregory Anders Date: Sun, 10 Apr 2022 19:12:41 -0600 Subject: refactor!: rename nvim_add_user_command to nvim_create_user_command --- test/functional/ex_cmds/verbose_spec.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/functional/ex_cmds') diff --git a/test/functional/ex_cmds/verbose_spec.lua b/test/functional/ex_cmds/verbose_spec.lua index 326104dc3c..e6f67ef18e 100644 --- a/test/functional/ex_cmds/verbose_spec.lua +++ b/test/functional/ex_cmds/verbose_spec.lua @@ -31,7 +31,7 @@ vim.api.nvim_exec("augroup test_group\ ", false) vim.api.nvim_command("command Bdelete :bd") -vim.api.nvim_add_user_command("TestCommand", ":echo 'Hello'", {}) +vim.api.nvim_create_user_command("TestCommand", ":echo 'Hello'", {}) vim.api.nvim_exec ("\ function Close_Window() abort\ @@ -114,7 +114,7 @@ test_group FileType script_location), result) end) - it('"Last set" for command defined by nvim_add_user_command', function() + it('"Last set" for command defined by nvim_create_user_command', function() local result = exec_capture(':verbose command TestCommand') eq(string.format([[ Name Args Address Complete Definition -- cgit