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
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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