Skip to content

Commit 06043a6

Browse files
committed
README: stop mentioning govim and vim-go versions
Both Vim plugins added support for gofumpt via gopls well over a year ago. Stop ensuring the user is up to date, because they most likely are.
1 parent 2becf2f commit 06043a6

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

README.md

+4-6
Original file line numberDiff line numberDiff line change
@@ -499,9 +499,7 @@ To avoid unnecessary runs, you should disable all checkboxes in the *Advanced* s
499499

500500
#### Vim-go
501501

502-
Ensure you are at least running version
503-
[v1.24](https://github.com/fatih/vim-go/blob/master/CHANGELOG.md#v124---september-15-2020),
504-
and set up `gopls` for formatting code with `gofumpt`:
502+
To configure `gopls` to use `gofumpt`:
505503

506504
```vim
507505
let g:go_fmt_command="gopls"
@@ -510,8 +508,7 @@ let g:go_gopls_gofumpt=1
510508

511509
#### Govim
512510

513-
With a [new enough version of govim](https://github.com/govim/govim/pull/1005),
514-
simply configure `gopls` to use `gofumpt`:
511+
To configure `gopls` to use `gofumpt`:
515512

516513
```vim
517514
call govim#config#Set("Gofumpt", 1)
@@ -533,13 +530,14 @@ require('lspconfig').gopls.setup({
533530

534531
#### Emacs
535532

536-
For [lsp-mode](https://emacs-lsp.github.io/lsp-mode/) users:
533+
For [lsp-mode](https://emacs-lsp.github.io/lsp-mode/) users on version 8.0.0 or higher:
537534

538535
```elisp
539536
(setq lsp-go-use-gofumpt t)
540537
```
541538

542539
For users of `lsp-mode` before `8.0.0`:
540+
543541
```elisp
544542
(lsp-register-custom-settings
545543
'(("gopls.gofumpt" t)))

0 commit comments

Comments
 (0)