fix!: fix "Command X not found after loading gopher.nvim" (#100)
BREAKING CHANGE: now calling .setup is required
This commit is contained in:
parent
e7a440acff
commit
51964dd307
4 changed files with 87 additions and 75 deletions
|
|
@ -114,6 +114,10 @@ function config.setup(user_config)
|
|||
["iferr"] = { _config.iferr, "table" },
|
||||
["iferr.message"] = { _config.iferr.message, "string", true },
|
||||
}
|
||||
|
||||
if _config.setup_commands then
|
||||
require("gopher.commands").register()
|
||||
end
|
||||
end
|
||||
|
||||
---@return boolean
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue