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

You Might Also Like
Speech-to-Text: Automatic Speech Recognition Icon
Speech-to-Text: Automatic Speech Recognition

Accurately convert voice to text in over 125 languages and variants by applying Google's powerful machine learning models with an easy-to-use API.

New customers get $300 in free credits to spend on Speech-to-Text. All customers get 60 minutes for transcribing and analyzing audio free per month, not charged against your credits.
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