projects
/
webi-installers
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add and update vim plugins with sensible defaults
[webi-installers/.git]
/
vim-go
/
README.md
diff --git
a/vim-go/README.md
b/vim-go/README.md
index 46ec3fdd8b3b0954f9eb2eabcb44b89dfa3bfbc3..1e1f31a5846b974f0415511be9e301354a3115e7 100644
(file)
--- a/
vim-go/README.md
+++ b/
vim-go/README.md
@@
-16,7
+16,8
@@
webi vim-go
> `vim-go` provides integration with various official and 3rd part go tooling
> for linting, vetting, etc.
> `vim-go` provides integration with various official and 3rd part go tooling
> for linting, vetting, etc.
-You'll also need `ALE`, `syntastic`, or similar.
+You'll also need `ALE`, [`syntastic`](https://webinstall.dev/vim-syntastic), or
+similar.
### How to install by hand
### How to install by hand
@@
-26,7
+27,7
@@
git clone --depth=1 https://github.com/fatih/vim-go.git ~/.vim/pack/plugins/star
### How to configure your `.vimrc`
### How to configure your `.vimrc`
-```vim
rc
+```vim
" don't check syntax immediately on open or on quit
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
" don't check syntax immediately on open or on quit
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
@@
-35,7
+36,7
@@
let g:syntastic_check_on_wq = 0
autocmd BufWritePre * :%s/\s\+$//e
```
autocmd BufWritePre * :%s/\s\+$//e
```
-```vim
rc
+```vim
"""""""""""""""""""""""""""
" Golang-specific options "
"""""""""""""""""""""""""""
"""""""""""""""""""""""""""
" Golang-specific options "
"""""""""""""""""""""""""""
@@
-75,6
+76,9
@@
go get golang.org/x/tools/cmd/goimports
# gorename
go get golang.org/x/tools/cmd/gorename
# gorename
go get golang.org/x/tools/cmd/gorename
+# goreturns
+go get github.com/sqs/goreturns
+
# gotype
go get golang.org/x/tools/cmd/gotype
```
# gotype
go get golang.org/x/tools/cmd/gotype
```