Cut array
Try loading the plugin into nvim / build (ubuntu-20.04) (push) Successful in 23s
Details
Try loading the plugin into nvim / build (ubuntu-20.04) (push) Successful in 23s
Details
This commit is contained in:
parent
d26acd4e7d
commit
c051560062
|
@ -16,15 +16,15 @@ end
|
||||||
-- @param mapped_key
|
-- @param mapped_key
|
||||||
-- @param raw_key
|
-- @param raw_key
|
||||||
-- @short Add mapped_key to keystrokes
|
-- @short Add mapped_key to keystrokes
|
||||||
local record_keystroke = function(mapped_key)
|
local record_keystroke = function(mapped_key, raw_key)
|
||||||
table.insert(keystrokes, mapped_key)
|
table.insert(keystrokes, raw_key)
|
||||||
-- if #keystrokes > 60 then
|
if #keystrokes > 60 then
|
||||||
-- local temp_keystrokes = {}
|
local temp_keystrokes = {}
|
||||||
-- for i = 31, #keystrokes do
|
for i = 31, #keystrokes do
|
||||||
-- table.insert(temp_keystrokes, keystrokes[i])
|
table.insert(temp_keystrokes, keystrokes[i])
|
||||||
-- end
|
end
|
||||||
-- keystrokes = temp_keystrokes
|
keystrokes = temp_keystrokes
|
||||||
-- end
|
end
|
||||||
end
|
end
|
||||||
vim.on_key(record_keystroke)
|
vim.on_key(record_keystroke)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue