refactor(installer): install gotests@develop by default (#95)

* refactor(installer): automatically install gotests@develop

* docs: update
This commit is contained in:
Smirnov Oleksandr 2025-03-21 00:54:04 +02:00 committed by GitHub
parent 55bc5787d1
commit c5cc5080fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 13 additions and 46 deletions

View file

@ -19,7 +19,8 @@ local gopher = {}
---@tag gopher.nvim-setup
---@text Setup function. This method simply merges default config with opts table.
--- You can read more about configuration at |gopher.nvim-config|
--- Calling this function is optional, if you ok with default settings. Look |gopher.nvim.config-defaults|
--- Calling this function is optional, if you ok with default settings.
--- See |gopher.nvim.config-defaults|
---
---@usage `require("gopher").setup {}` (replace `{}` with your `config` table)
---@param user_config gopher.Config
@ -34,6 +35,7 @@ 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.
gopher.install_deps = require("gopher.installer").install_deps
gopher.impl = require("gopher.impl").impl