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 = {}
|
||||
end
|
||||
|
||||
function Macrochain()
|
||||
function M.Macrochain()
|
||||
-- vim.print(table.concat(keystrokes, ""))
|
||||
vim.print("Hello world")
|
||||
end
|
||||
@@ -28,3 +28,5 @@ local record_keystroke = function(mapped_key)
|
||||
-- end
|
||||
end
|
||||
vim.on_key(record_keystroke)
|
||||
|
||||
return M
|
||||
|
||||
Reference in New Issue
Block a user