aboutsummaryrefslogtreecommitdiff
path: root/test/functional/helpers.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-12-02 00:46:46 -0800
committerJustin M. Keyes <justinkz@gmail.com>2019-12-02 22:06:42 -0800
commita3b6c2a3dc5576db45fe4e893cfb8482af591c92 (patch)
tree4b19d5f14230929c226ea916c1538fb492e511c0 /test/functional/helpers.lua
parentc34130d13a842ae0c0c1724d05800a954547d327 (diff)
downloadrneovim-a3b6c2a3dc5576db45fe4e893cfb8482af591c92.tar.gz
rneovim-a3b6c2a3dc5576db45fe4e893cfb8482af591c92.tar.bz2
rneovim-a3b6c2a3dc5576db45fe4e893cfb8482af591c92.zip
API: rename nvim_execute_lua => nvim_exec_lua
- We already find ourselves renaming nvim_execute_lua in tests and scripts, which suggests "exec" is the verb we actually want. - Add "exec" verb to `:help dev-api`.
Diffstat (limited to 'test/functional/helpers.lua')
-rw-r--r--test/functional/helpers.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/helpers.lua b/test/functional/helpers.lua
index 1108fbb2ba..0f2b04ea00 100644
--- a/test/functional/helpers.lua
+++ b/test/functional/helpers.lua
@@ -706,7 +706,7 @@ module.curwinmeths = module.create_callindex(module.curwin)
module.curtabmeths = module.create_callindex(module.curtab)
function module.exec_lua(code, ...)
- return module.meths.execute_lua(code, {...})
+ return module.meths.exec_lua(code, {...})
end
function module.redir_exec(cmd)