fix: fix "Command X not found after loading gopher.nvim"

This commit is contained in:
Oleksandr Smirnov 2025-03-22 13:22:40 +02:00
parent e7a440acff
commit f3f5e22765
No known key found for this signature in database
3 changed files with 78 additions and 74 deletions

View file

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