maybe it can help?

This commit is contained in:
Smirnov Oleksandr 2024-03-02 01:28:54 +02:00
parent 982be84446
commit e93928a70b

View file

@ -54,24 +54,24 @@ require("gopher").setup {
``` ```
>[!NOTE] >[!NOTE]
>
> <details> <details>
> <summary> <summary>
> For named tests to work you have to install gotests from develop branch. Next code snippets could be placed into the build step in the Lazy plugin declaration For named tests to work you have to install gotests from develop branch. Next code snippets could be placed into the build step in the Lazy plugin declaration
> </summary> </summary>
>
> ```lua ```lua
> -- using mason-tool-installer -- using mason-tool-installer
> require("mason-tool-installer").setup { require("mason-tool-installer").setup {
> ensure_installed = { ensure_installed = {
> { "gotests", version = "develop" }, { "gotests", version = "develop" },
> } }
> } }
>
> -- using `vim.fn.jobstart` -- using `vim.fn.jobstart`
> vim.fn.jobstart("go install github.com/cweill/gotests/...@develop") vim.fn.jobstart("go install github.com/cweill/gotests/...@develop")
> ``` ```
> </details> </details>
## Features ## Features
@ -113,7 +113,7 @@ require("gopher").setup {
```lua ```lua
--- or you can use lua api --- or you can use lua api
require("gopher").tags.add "xml" require("gopher").tags.add "xml"
require("gopher").tags.rm "proto" require("gopher").tags.rm "proto"
``` ```
</details> </details>