Skip to content

Commit

Permalink
Fix typos(UWU) (#11)
Browse files Browse the repository at this point in the history
* uwu

* okn't

* h
  • Loading branch information
1stvaliduser committed Jul 1, 2022
1 parent 0fcdcee commit 08f9156
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Minimalistic plugin for Go development in Neovim written in Lua.

It's not an LSP tool, the main goal of this plugin add go tooling support in neovim.
It's not an LSP tool, the main goal of this plugin is add go tooling support in Neovim.

## Install

Expand All @@ -18,7 +18,7 @@ use {
}
```

Also, run `TSInstall go` if install the `go` parser if not installed yet.
Also, run `TSInstall go` if `go` parser if isn't installed yet.

## Config

Expand All @@ -41,27 +41,27 @@ require("gopher").setup {

## Features

1. Install requires go tools:
1. Installation requires this go tool:

```vim
:GoInstallDeps
```

This will install next tools:
It will install next tools:

- [gomodifytags](https://github.com/fatih/gomodifytags)
- [impl](https://github.com/josharian/impl)
- [gotests](https://github.com/cweill/gotests)

2. Modify struct tags:
By default be added/removed `json` tag, if not set.
By default `json` tag will be added/removed, if not set:

```vim
:GoTagAdd json " For add json tag
:GoTagRm yaml " For remove yaml tag
```

3. Run `go mod` command
3. Run `go mod` command:

```vim
:GoMod tidy " Runs `go mod tidy`
Expand All @@ -70,9 +70,9 @@ By default be added/removed `json` tag, if not set.

4. Run `go get` command

Link can has a `http` or `https` prefix.
Link can have a `http` or `https` prefix.

You can provide more that one package url.
You can provide more than one package url:

```vim
:GoGet github.com/gorilla/mux
Expand Down Expand Up @@ -100,25 +100,25 @@ Example of usage:

6. Generate tests with [gotests](https://github.com/cweill/gotests)

Generate one test for spesific function/method
Generate one test for spesific function/method:

```vim
:GoTestAdd
```

Generate all tests for all functions/methods in current file
Generate all tests for all functions/methods in current file:

```vim
:GoTestsAll
```

Generate tests only for exported functions/methods in current file
Generate tests only for exported functions/methods in current file:

```vim
:GoTestsExp
```

7. Run `go generate` command
7. Run `go generate` command;

```vim
" Run `go generate` in cwd path
Expand All @@ -136,6 +136,6 @@ First set a cursor on **public** package/function/interface/struct and execure:
:GoCmt
```

## Thanks
## Thanks:

- [go.nvim](https://github.com/ray-x/go.nvim)

0 comments on commit 08f9156

Please sign in to comment.