From 301e932112ba95116a154b86cf0faf9f44adbeef Mon Sep 17 00:00:00 2001 From: Iron-E Date: Thu, 21 May 2020 15:52:14 -0400 Subject: [PATCH] Fix bad name change --- examples/lua/key-combos-manually.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/lua/key-combos-manually.lua b/examples/lua/key-combos-manually.lua index 798f30b..1a2ee5c 100644 --- a/examples/lua/key-combos-manually.lua +++ b/examples/lua/key-combos-manually.lua @@ -12,14 +12,14 @@ function _inputHistory:clear(indexToCheck) end function fooMode() - inputHistory[#inputHistory + 1] = string.char( + _inputHistory[#_inputHistory + 1] = string.char( api.nvim_get_var('fooModeInput') ) local index = 1 - if inputHistory[1] == 'z' then - if inputHistory[2] == 'f' then - if inputHistory[3] == 'o' then + if _inputHistory[1] == 'z' then + if _inputHistory[2] == 'f' then + if _inputHistory[3] == 'o' then api.nvim_command("echom 'It works!'") else index = 3 end