Add function as module
Try loading the plugin into nvim / build (ubuntu-20.04) (push) Successful in 15s
Details
Try loading the plugin into nvim / build (ubuntu-20.04) (push) Successful in 15s
Details
This commit is contained in:
parent
e7ccbed391
commit
ac63c91ee8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue