" gorename command! -nargs=? GoRename call go#rename#Rename(0,) " oracle command! -nargs=* -complete=customlist,go#package#Complete GoOracleScope call go#oracle#Scope() command! -range=% GoImplements call go#oracle#Implements() command! -range=% GoCallees call go#oracle#Callees() command! -range=% GoDescribe call go#oracle#Describe() command! -range=% GoCallers call go#oracle#Callers() command! -range=% GoCallstack call go#oracle#Callstack() command! -range=% GoFreevars call go#oracle#Freevars() command! -range=% GoChannelPeers call go#oracle#ChannelPeers() command! -range=% GoReferrers call go#oracle#Referrers() command! -nargs=? GoOracleTags call go#oracle#Tags() " tool command! -nargs=0 GoFiles echo go#tool#Files() command! -nargs=0 GoDeps echo go#tool#Deps() command! -nargs=* GoInfo call go#complete#Info(0) " cmd command! -nargs=* -bang GoBuild call go#cmd#Build(0,) command! -nargs=* -bang GoGenerate call go#cmd#Generate(0,) command! -nargs=* -bang -complete=file GoRun call go#cmd#Run(0,) command! -nargs=* -bang GoInstall call go#cmd#Install(0, ) command! -nargs=* -bang GoTest call go#cmd#Test(0, 0, ) command! -nargs=* -bang GoTestFunc call go#cmd#TestFunc(0, ) command! -nargs=* -bang GoTestCompile call go#cmd#Test(0, 1, ) command! -nargs=* -bang GoCoverage call go#cmd#Coverage(0, ) " -- play command! -nargs=0 -range=% GoPlay call go#play#Share(, , ) " -- def command! -nargs=* -range GoDef :call go#def#Jump() " -- doc command! -nargs=* -range -complete=customlist,go#package#Complete GoDoc call go#doc#Open('new', 'split', ) command! -nargs=* -range -complete=customlist,go#package#Complete GoDocBrowser call go#doc#OpenBrowser() " -- fmt command! -nargs=0 GoFmt call go#fmt#Format(-1) command! -nargs=0 GoImports call go#fmt#Format(1) " -- import command! -nargs=? -complete=customlist,go#package#Complete GoDrop call go#import#SwitchImport(0, '', , '') command! -nargs=1 -bang -complete=customlist,go#package#Complete GoImport call go#import#SwitchImport(1, '', , '') command! -nargs=* -bang -complete=customlist,go#package#Complete GoImportAs call go#import#SwitchImport(1, , '') " -- linters command! -nargs=* GoMetaLinter call go#lint#Gometa(0, ) command! -nargs=* GoLint call go#lint#Golint() command! -nargs=* -bang GoVet call go#lint#Vet(0, ) command! -nargs=* -complete=customlist,go#package#Complete GoErrCheck call go#lint#Errcheck() " -- alternate command! -bang GoAlternate call go#alternate#Switch(0, '') " vim:ts=4:sw=4:et