again some updating
This commit is contained in:
parent
68a1208624
commit
677219b10a
1 changed files with 4 additions and 4 deletions
|
|
@ -6,12 +6,12 @@ Minimalistic plugin for Go development in Neovim written in Lua.
|
||||||
|
|
||||||
It's **NOT** an LSP tool, the main goal of this plugin is to add go tooling support in Neovim.
|
It's **NOT** an LSP tool, the main goal of this plugin is to add go tooling support in Neovim.
|
||||||
|
|
||||||
## Install (using [lazy.nvim](https://github.com/folke/lazy.nvim)
|
## Install (using [lazy.nvim](https://github.com/folke/lazy.nvim))
|
||||||
|
|
||||||
Pre-dependency:
|
Pre-dependency:
|
||||||
|
|
||||||
- [go](https://github.com/golang/go) (tested on 1.17 and 1.18)
|
- [Go](https://github.com/golang/go)
|
||||||
- Go treesitter parser, install by `:TSInstall go`
|
- `go` treesitter parser, install by `:TSInstall go`
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
{
|
{
|
||||||
|
|
@ -186,7 +186,7 @@ require("gopher").setup {
|
||||||
:GoImpl r Read io.Reader
|
:GoImpl r Read io.Reader
|
||||||
:GoImpl Write io.Writer
|
:GoImpl Write io.Writer
|
||||||
|
|
||||||
" or you can put a cursor on the struct and run
|
" or you can simply put a cursor on the struct and run
|
||||||
:GoImpl io.Reader
|
:GoImpl io.Reader
|
||||||
```
|
```
|
||||||
</details>
|
</details>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue