Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Neovim
  3. go.nvim

go.nvim

MITLuav0.11

A feature-rich Go development plugin for Neovim with LSP, debugging, AI assistance, and code generation.

GitHubGitHub
2.6k stars156 forks0 contributors

What is go.nvim?

go.nvim is a modern Go plugin for Neovim that provides a complete development environment for Go programmers. It integrates language server protocol (gopls), debugging (DAP), AI-powered assistance, and extensive code generation tools to streamline writing, testing, and refactoring Go code directly within Neovim.

Target Audience

Go developers who use Neovim and want a feature-rich, integrated development experience with minimal configuration. It's especially useful for those who value AI-assisted coding, advanced debugging, and comprehensive code manipulation tools.

Value Proposition

Developers choose go.nvim for its all-in-one approach, combining LSP, debugging, AI features, and code generation in a single plugin with async performance. Its deep integration with modern Neovim ecosystems and focus on Go-specific workflows sets it apart from generic LSP setups.

Overview

G'day Nvimer, Joyful Gopher: Explore the Feature-Packed Go Plugin for Neovim

Use Cases

Best For

  • Go developers seeking an integrated Neovim experience with gopls and debugging
  • Teams wanting AI-assisted code reviews and documentation generation
  • Projects requiring extensive code generation (mocks, structs, enums, tests)
  • Debugging Go applications with zero-config DAP integration
  • Refactoring and maintaining large Go codebases with AST-powered tools
  • Writing Go with advanced features like inlay hints, coverage display, and smart build tags

Not Ideal For

  • Developers on older Neovim versions (pre-0.12) or stable treesitter releases
  • Users who prefer minimal, single-purpose plugins over integrated toolkits
  • Teams in environments with restricted internet access, limiting AI features and tool downloads

Pros & Cons

Pros

Comprehensive Feature Suite

Integrates LSP, debugging, AI assistance, and code generation into one plugin, as shown by commands like GoAI for natural-language commands and zero-config DAP debugging with nvim-dap.

Async Performance

Uses libuv for async jobs in builds and tests, with the README highlighting fast load speeds and non-blocking operations.

AI-Powered Workflows

Offers AI-driven tools such as GoCmtAI for comment generation and GoCodeReview for automated code reviews, leveraging Copilot or OpenAI for enhanced productivity.

Project-Specific Configuration

Allows per-project customization via .gonvim/init.lua files, enabling tailored setups for different codebases without global changes.

Cons

Complex Setup Requirements

Requires multiple dependencies like treesitter main branch, sed, and proper PATH setup for GOPATH/bin, making initial installation and configuration non-trivial.

Version Lock-In

Mandates Neovim 0.12 and specific treesitter versions, with the README noting no guarantee for Neovim 0.11, limiting compatibility with older setups.

Dependency on External Services

AI features rely on external providers (Copilot/OpenAI), which may not be feasible in offline environments and add configuration overhead for API keys.

Frequently Asked Questions

Quick Stats

Stars2,623
Forks156
Contributors0
Open Issues95
Last commit11 days ago
CreatedSince 2021

Tags

#treesitter#nvim-dap#test-coverage#ai-assistance#go-development#neovim-plugin#lsp-client#gopls#golang#nvim-plugin#neovim#go#nvim#refactoring#code-generation

Built With

l
libuv
n
nvim-dap
N
Neovim
T
Treesitter
L
Lua

Included in

Neovim20.6k
Auto-fetched 1 day ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub