refactor/comamnds dont require .setup (#101)

* refactor(commands)!: change the way of disabling commands

BREAKING CHANGE: not it does not require calling .setup()

* docs: update docs
This commit is contained in:
Smirnov Oleksandr 2025-03-22 17:06:57 +02:00 committed by GitHub
parent 7ab717e981
commit 7e33602065
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 101 additions and 103 deletions

View file

@ -35,7 +35,8 @@ end
---@text Gopher.nvim implements most of its features using third-party tools.
--- To install these tools, you can run `:GoInstallDeps` command
--- or call `require("gopher").install_deps()` if you want to use lua api.
--- By default dependencies will be installed asynchronously, to install them synchronously pass `{sync = true}` as an argument.
--- By default dependencies will be installed asynchronously,
--- to install them synchronously pass `{sync = true}` as an argument.
gopher.install_deps = require("gopher.installer").install_deps
gopher.impl = require("gopher.impl").impl