goda-cmp.vim: a new-generation Go completion plugin for Vim and Neovim
What happened next
goda-cmp.vim is a new auto-completion plugin for both Vim and Neovim and the spiritual successor to ddc.vim[1]; its main features are now complete, its author has switched to it from ddc.vim for daily editing, and the API may still change without notice on the way to version 1.0. The engine runs on goda.vim, a Go-based framework similar to denops.vim but without a Deno dependency: the editor starts the plugin binary as one process and talks to Vim over JSON channel and to Neovim over msgpack-rpc[2], so the same binary works in both editors. source[3], filter and UI are extensions separate from the core, and the configuration is Go code the user builds into a single pure Go binary without cgo[4].
The rewrite was triggered by the Deno company ending Deno development: support continues for 1 year and community development is expected, but the development setup will become unstable, and the author's environment largely consists of Deno-based plugins. The original denops.vim author has announced its end as well, and the author of goda-cmp.vim is taking over its maintenance as a stopgap until a full migration; Go was chosen over Lua as a matter of policy and because a single Go binary can cover both editors. Porting ddc.vim's large feature set by hand would never have finished, so the from-scratch rewrite used AI (ClaudeCode), though the author does not plan AI-first development. Unlike ddc.vim, which required Deno at runtime, goda-cmp.vim needs Go only at build time, pins dependencies in go.mod, should be easy to package with Nix and is expected to improve performance especially on Windows.
It requires Go 1.26 or later plus Vim 9.1 or later (+job +channel +timers) or Neovim, with Shougo/goda.vim, Shougo/goda-cmp.vim and, for the pum UI, Shougo/pum.vim installed through a plugin manager. Extensions are Go packages imported and linked at build time, so a nonexistent source name or a wrong option type is caught before startup, a panicking or timing-out source is ignored for that round only, and settings known from ddc.vim such as sources, sourceOptions, patch_global and patch_filetype carry over unchanged. Completion also works on the command line via goda_cmp#enable_cmdline() and in the terminal via goda_cmp#enable_terminal(), where the shellnative source runs the native completion of zsh, fish and xonsh so shell candidates can be picked in pum.vim; the lsp source launches language servers itself without depending on Neovim's LSP client; and by version 1.0 the repository is to be split into core, per-UI and extension parts.
Sources
-
JPZenn JA
Go で動く新世代の補完プラグイン goda-cmp.vim


