fix: local and return were missing from commands and keymaps files
This commit is contained in:
1 parent
a4a5bfe636
commit
80a2c4d56f
2 files changed
+22
-10
No files matched your search
+15
-9
@@ -1,9 +1,15 @@
|
||||
vim.api.nvim_create_user_command("HegoBuild", function()
|
||||
require("hego").build(false)
|
||||
end, {})
|
||||
vim.api.nvim_create_user_command("HegoBuildPristine", function()
|
||||
require("hego").build(true)
|
||||
end, {})
|
||||
vim.api.nvim_create_user_command("HegoFlash", function()
|
||||
require("hego").flash()
|
||||
end, {})
|
||||
local M = {}
|
||||
|
||||
function M.setup(_)
|
||||
vim.api.nvim_create_user_command("HegoBuild", function()
|
||||
require("hego").build(false)
|
||||
end, {})
|
||||
vim.api.nvim_create_user_command("HegoBuildPristine", function()
|
||||
require("hego").build(true)
|
||||
end, {})
|
||||
vim.api.nvim_create_user_command("HegoFlash", function()
|
||||
require("hego").flash()
|
||||
end, {})
|
||||
end
|
||||
|
||||
return M
|
||||
Reference in new issue
Block a user