talira

coc.nvim

VS Code-like completion, diagnostics and language servers for Vim and Neovim

open sourceMITfree

coc.nvim (Conquer of Completion) is an IntelliSense engine, extension host and Language Server Protocol client for Vim and Neovim. Through a Node.js service it brings VS Code-like completion, diagnostics, navigation and refactoring to both editors, and it loads coc extensions for individual languages, installed with :CocInstall. An installer script sets it up for Vim or Neovim, and a playground runs it in the browser.

Problems it solves

  • get VS Code-style autocompletion and diagnostics in Vim or Neovim
  • connect Vim to a language server for my language
  • go to definition and refactor code from Vim

Features

  • Language Server Protocol client
  • completion, diagnostics, navigation and refactoring
  • extension host for coc extensions (:CocInstall)
  • installer script for Vim and Neovim
  • browser playground

Limitations

  • Needs Node.js 22.15.0 or newer, Vim 9.0.0438+ or Neovim 0.8.0+1

Alternatives

The same job

These do what coc.nvim does.

  1. YouCompleteMe Fast as-you-type fuzzy code completion and refactoring engine for Vim
  2. vim-go Go development plugin for Vim and Neovim: build, test, debug, gopls completion and refactoring
  3. Helix Post-modern modal text editor for the terminal
  4. C# for Visual Studio Code Microsoft's C# language support for VS Code
  5. ALE (Asynchronous Lint Engine) Asynchronous linting, fixing and LSP support for Vim and Neovim
  6. C/C++ for Visual Studio Code Microsoft's C and C++ language support for VS Code

Compare coc.nvim with the top 3