Fix bad name change

pull/3/head
Iron-E 4 years ago
parent eee6a01778
commit 301e932112
No known key found for this signature in database
GPG Key ID: 19B71B7B7B021D22

@ -12,14 +12,14 @@ function _inputHistory:clear(indexToCheck)
end end
function fooMode() function fooMode()
inputHistory[#inputHistory + 1] = string.char( _inputHistory[#_inputHistory + 1] = string.char(
api.nvim_get_var('fooModeInput') api.nvim_get_var('fooModeInput')
) )
local index = 1 local index = 1
if inputHistory[1] == 'z' then if _inputHistory[1] == 'z' then
if inputHistory[2] == 'f' then if _inputHistory[2] == 'f' then
if inputHistory[3] == 'o' then if _inputHistory[3] == 'o' then
api.nvim_command("echom 'It works!'") api.nvim_command("echom 'It works!'")
else index = 3 else index = 3
end end

Loading…
Cancel
Save