Skip to content

Commit

Permalink
README: Condense the two Vim sections into one; add links
Browse files Browse the repository at this point in the history
  • Loading branch information
adamroyjones authored and mvdan committed Oct 22, 2022
1 parent ed18ee7 commit 3d971cb
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Expand Up @@ -496,7 +496,12 @@ When a window asks for settings, you can enter the following:

To avoid unnecessary runs, you should disable all checkboxes in the *Advanced* section.

#### Vim-go
#### Vim

The configuration depends on the plugin you are using: [vim-go](https://github.com/fatih/vim-go)
or [govim](https://github.com/govim/govim).

##### vim-go

To configure `gopls` to use `gofumpt`:

Expand All @@ -505,7 +510,7 @@ let g:go_fmt_command="gopls"
let g:go_gopls_gofumpt=1
```

#### Govim
##### govim

To configure `gopls` to use `gofumpt`:

Expand Down

0 comments on commit 3d971cb

Please sign in to comment.