Add function as module
Try loading the plugin into nvim / build (ubuntu-20.04) (push) Successful in 15s Details

This commit is contained in:
Yannick Reiß 2024-12-19 08:34:59 +01:00
parent e7ccbed391
commit ac63c91ee8
1 changed files with 3 additions and 1 deletions

View File

@ -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