Add function as module
All checks were successful
Try loading the plugin into nvim / build (ubuntu-20.04) (push) Successful in 15s
All checks were successful
Try loading the plugin into nvim / build (ubuntu-20.04) (push) Successful in 15s
This commit is contained in:
@@ -8,7 +8,7 @@ if vim == nil then
|
|||||||
vim = {}
|
vim = {}
|
||||||
end
|
end
|
||||||
|
|
||||||
function Macrochain()
|
function M.Macrochain()
|
||||||
-- vim.print(table.concat(keystrokes, ""))
|
-- vim.print(table.concat(keystrokes, ""))
|
||||||
vim.print("Hello world")
|
vim.print("Hello world")
|
||||||
end
|
end
|
||||||
@@ -28,3 +28,5 @@ local record_keystroke = function(mapped_key)
|
|||||||
-- end
|
-- end
|
||||||
end
|
end
|
||||||
vim.on_key(record_keystroke)
|
vim.on_key(record_keystroke)
|
||||||
|
|
||||||
|
return M
|
||||||
|
|||||||
Reference in New Issue
Block a user