aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/input_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/ui/input_spec.lua')
-rw-r--r--test/functional/ui/input_spec.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/functional/ui/input_spec.lua b/test/functional/ui/input_spec.lua
index 8a08d459c4..80862b668f 100644
--- a/test/functional/ui/input_spec.lua
+++ b/test/functional/ui/input_spec.lua
@@ -4,10 +4,10 @@ local feed, next_msg, eq = helpers.feed, helpers.next_msg, helpers.eq
local command = helpers.command
local expect = helpers.expect
local curbuf_contents = helpers.curbuf_contents
-local meths = helpers.meths
+local api = helpers.api
local exec_lua = helpers.exec_lua
local write_file = helpers.write_file
-local funcs = helpers.funcs
+local fn = helpers.fn
local eval = helpers.eval
local Screen = require('test.functional.ui.screen')
@@ -244,7 +244,7 @@ it('Ctrl-6 is Ctrl-^ vim-patch:8.1.2333', function()
command('split aaa')
command('edit bbb')
feed('<C-6>')
- eq('aaa', funcs.bufname())
+ eq('aaa', fn.bufname())
end)
it('c_CTRL-R_CTRL-R, i_CTRL-R_CTRL-R, i_CTRL-G_CTRL-K work properly vim-patch:8.1.2346', function()
@@ -303,7 +303,7 @@ it('unsimplified mapping works when there was a partial match vim-patch:8.2.4504
command('nnoremap <C-J> a')
command('nnoremap <NL> x')
command('nnoremap <C-J>x <Nop>')
- funcs.setline(1, 'x')
+ fn.setline(1, 'x')
-- CTRL-J b should have trigger the <C-J> mapping and then insert "b"
feed('<C-J>b<Esc>')
expect('xb')
@@ -392,7 +392,7 @@ end)
describe('event processing and input', function()
it('not blocked by event bursts', function()
- meths.nvim_set_keymap(
+ api.nvim_set_keymap(
'',
'<f2>',
"<cmd>lua vim.rpcnotify(1, 'stop') winning = true <cr>",