I am looking for a vim plug-in to write a go program
The best plug-in at the moment, bar none
https://github.com/fatih/vim-go
This is not only syntax highlighting, but also provides completion, jump functions, etc.
Look at its command list and you can see that it has full functions
:GoImport <path> :GoImportAs <localname> <path> :GoDrop <path> :GoDisableGoimports :GoEnableGoimports :GoLint :GoDoc <identifier> :GoDocBrowser <identifier> :GoFmt :GoVet :GoDef <identifier> :GoRun <expand> :GoBuild :GoInstall :GoPlay :GoTest :GoErrCheck :GoFiles :GoDeps :GoUpdateBinaries :GoOracleDescribe :GoOracleCallees :GoOracleCallers :GoOracleCallgraph :GoOracleImplements :GoOracleChannelPeers
gocode https://github.com/nsf/gocode
Isn’t this included with Go?
>>> pacman -Ql go | grep vimfiles | wc -l 17
https://github.com/caixw/VimIDE Try this, it integrates gocode and gotag
https://github.com/InfoGeeker/go-vim-dict
About Go’s dict.
The best plug-in at the moment, bar none
https://github.com/fatih/vim-go
This is not only syntax highlighting, but also provides completion, jump functions, etc.
Look at its command list and you can see that it has full functions
gocode https://github.com/nsf/gocode
Isn’t this included with Go?
https://github.com/caixw/VimIDE Try this, it integrates gocode and gotag
https://github.com/InfoGeeker/go-vim-dict
About Go’s dict.