maybe it can help?
This commit is contained in:
parent
982be84446
commit
e93928a70b
1 changed files with 19 additions and 19 deletions
38
README.md
38
README.md
|
|
@ -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>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue