This commit is contained in:
hrsh7th
2022-01-25 10:12:09 +09:00
parent 2d67b6dd76
commit f960d4829e

View File

@@ -77,6 +77,7 @@ describe('keymap', function()
end)
it('recursive callback', function()
pcall(function()
vim.api.nvim_buf_set_keymap(0, 'i', '(', '', {
expr = true,
noremap = false,
@@ -91,6 +92,7 @@ describe('keymap', function()
assert.are.same({ 1, 1 }, state.cursor)
end)
end)
end)
describe('realworld', function()
before_each(spec.before)