refactor(installer): install gotests@develop by default (#95)
* refactor(installer): automatically install gotests@develop * docs: update
This commit is contained in:
parent
55bc5787d1
commit
c5cc5080fa
6 changed files with 13 additions and 46 deletions
|
|
@ -19,24 +19,7 @@
|
|||
---@tag gopher.nvim-gotests-named
|
||||
---@text
|
||||
--- You can enable named tests in the config if you prefer using named tests.
|
||||
--- But you must install `gotests@develop` because the stable version doesn't support this feature.
|
||||
---
|
||||
--- >lua
|
||||
--- -- simply run go get in your shell:
|
||||
--- go install github.com/cweill/gotests/...@develop
|
||||
---
|
||||
--- -- if you want to install it within neovim, you can use one of this:
|
||||
--- -- if you choose to install gotests this way i reocmmend adding it to your `build` section in your |lazy.nvim|
|
||||
---
|
||||
--- vim.fn.jobstart("go install github.com/cweill/gotests/...@develop")
|
||||
---
|
||||
--- -- or if you want to use mason:
|
||||
--- require("mason-tool-installer").setup {
|
||||
--- ensure_installed = {
|
||||
--- { "gotests", version = "develop" },
|
||||
--- }
|
||||
--- }
|
||||
--- <
|
||||
--- See |gopher.nvim-config|.
|
||||
|
||||
local c = require "gopher.config"
|
||||
local ts_utils = require "gopher._utils.ts"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue