This plugin adds Go language support for Vim, with the following main features. Look up documentation with :GoDoc or :GoDocBrowser, easily import packages via :GoImport, remove them via :GoDrop. Precise type-safe renaming of identifiers with :GoRename. See which code is covered by tests with :GoCoverage. Add or remove tags on struct fields with :GoAddTags and :GoRemoveTags. Call golangci-lint with :GoMetaLinter to invoke all possible linters (golint, vet, errcheck, deadcode, etc.) and put the result in the quickfix or location list. Lint your code with :GoLint, run your code through :GoVet to catch static errors, or make sure errors are checked with :GoErrCheck. Advanced source analysis tools utilizing guru, such as :GoImplements, :GoCallees, and :GoReferrers, and many more! Please see doc/vim-go.txt for more information. The gopls instance can be shared with other Vim plugins. Vim-go's use of gopls can be disabled.

Features

  • Compile your package with :GoBuild, install it with :GoInstall or test it with :GoTest
  • Quickly execute your current file(s) with :GoRun
  • Improved syntax highlighting and folding
  • Debug programs with integrated delve support with :GoDebugStart
  • Completion and many other features support via gopls
  • Formatting on save keeps the cursor position and undo history

Project Activity

See All Activity >

License

Creative Commons Attribution Non-Commercial License V2.0

Follow vim-go

vim-go Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of vim-go!

Additional Project Details

Registered

2021-04-26