I am looking for a vim plug-in to write a go program
ringa_lee2017-05-16 16:43:15
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
巴扎黑2017-05-16 16:43:15
Isn’t this included with Go?
>>> pacman -Ql go | grep vimfiles | wc -l
17
淡淡烟草味2017-05-16 16:43:15
https://github.com/caixw/VimIDE Try this, it integrates gocode and gotag