coc.nvim VS nvim-lspconfig

Compare coc.nvim vs nvim-lspconfig and see what are their differences.

coc.nvim

Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers. (by neoclide)
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
Nutrient – The #1 PDF SDK Library, trusted by 10K+ developers
Other PDF SDKs promise a lot - then break. Laggy scrolling, poor mobile UX, tons of bugs, and lack of support cost you endless frustrations. Nutrient’s SDK handles billion-page workloads - so you don’t have to debug PDFs. Used by ~1 billion end users in more than 150 different countries.
www.nutrient.io
featured
coc.nvim nvim-lspconfig
322 529
24,684 11,235
0.5% 2.5%
8.9 9.8
7 days ago 5 days ago
TypeScript Lua
GNU General Public License v3.0 or later Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

coc.nvim

Posts with mentions or reviews of coc.nvim. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-12-27.

nvim-lspconfig

Posts with mentions or reviews of nvim-lspconfig. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-01-02.
  • How to setup VueJs in Neovim (January 2025)
    4 projects | dev.to | 2 Jan 2025
    Packages that we will use : blink.cmp for autocompletion, typescript-tools for the typescript LSP, neovim/nvim-lspconfig to set up the LSP, and Mason so we can install volar.
  • Setting Up Neovim
    5 projects | dev.to | 1 Jan 2025
    Check configs.md to ensure your language's LSP server is present there and edit the configs/lspconfig.lua file to add your language's LSP.
  • How to Setup Vim for Kotlin Development
    12 projects | dev.to | 27 Dec 2024
    Neovim Install the nvim-lspconfig plugin to make configuration of the LSP client simpler. Then update your init.lua to tell Neovim which filetypes to use the language server for (i.e. .kt and .kts extensions). The LSP client will try to the start the sever by running the kotlin_language_server binary. You can directly point Neovim to the location of the binary, or include this directory in your $PATH.
  • Lite 🚀 ApolloNvim Distro 2024
    47 projects | dev.to | 18 Oct 2024
    👉 With LSP in this installation, I use Coc for its simplicity without the need to intervene in the Coc configuration. LSP has been very useful in my Helix modal editor to configure Helixu.
  • Simple Neovim config
    6 projects | dev.to | 18 Sep 2024
  • Ultimate Neovim Setup Guide: lazy.nvim Plugin Manager
    25 projects | dev.to | 24 Jun 2024
    neovim/nvim-lspconfig: Quickstart configs for Nvim LSP
  • JetBrains' unremovable AI assistant meets irresistible outcry
    5 projects | news.ycombinator.com | 3 Feb 2024
    I suggest looking for blog posts about this, you're gunnuh wanna pick out a plugin manager and stuff. It's kind of like a package manager for neovim. You can install everything manually but usually you manually install a plugin manager and it gives you commands to manage the rest of your plugins.

    These two plugins are the bare minimum in my view.

    https://github.com/nvim-treesitter/nvim-treesitter

    Treesitter gives you much better syntax highlighting based on a parser for a given language.

    https://github.com/neovim/nvim-lspconfig

    This plugin helps you connect to a given language LSP quickly with sensible defaults. You more or less pick your language from here and copy paste a snippet, and then install the relevant LSP:

    https://github.com/neovim/nvim-lspconfig/blob/master/doc/ser...

    For Python you'll want pylsp. For JavaScript it will depend on what frontend framework you're using, I probably can't help you there.

    pylsp itself takes some plugins and you'll probably want them. https://github.com/python-lsp/python-lsp-server

    Best of luck! Happy hacking.

  • Neovide – a simple, no-nonsense, cross-platform GUI for Neovim
    17 projects | news.ycombinator.com | 31 Jan 2024
    Adding language support it neovim isn't very difficult once you're setup. I use nvim-lspconfig[1] and just about any language you could need is documented[2]. But like others have mentioned there are batteries included distributions of neovim if that's your cup of tea.

    [1]: https://github.com/neovim/nvim-lspconfig/

    [2]: https://github.com/neovim/nvim-lspconfig/blob/master/doc/ser...

  • A guide on Neovim's LSP client
    7 projects | dev.to | 13 Jan 2024
    If we can't find the basic usage in the documentation we can go to nvim-lspconfig's github repository. In there we look for a folder called server_configurations, this contains configuration files for a bunch of language servers.
  • Do I need NeoVIM?
    11 projects | /r/neovim | 7 Dec 2023
    https://github.com/hrsh7th/nvim-cmp This is an autocompletion engine https://github.com/nvim-treesitter/nvim-treesitter This allows NeoVim to install parsing scripts so NeoVim can do things like code highlighting. https://github.com/williamboman/mason.nvim Not strictly necessary, but allows you to access a repo of LSP, install them, and configure them for without you actively messing about in config files. https://github.com/neovim/nvim-lspconfig Also not strictly necessary, but vastly simplifies LSP setup. https://github.com/williamboman/mason-lspconfig.nvim This lets the above two plugins talk to each other more easily.

What are some alternatives?

When comparing coc.nvim and nvim-lspconfig you can also consider the following projects:

YouCompleteMe - A code-completion engine for Vim

django-plus.vim - :guitar: Improvements to the handling of Django related files in Vim

mason.nvim - Portable package manager for Neovim that runs everywhere Neovim runs. Easily install and manage LSP servers, DAP servers, linters, and formatters.

sonarlint-language-server - Language Server for SonarLint VSCode

LazyVim - Neovim config for the lazy

lsp-zero.nvim - A starting point to setup some lsp related features in neovim.

nvim-cmp - A completion plugin for neovim coded in Lua.

groovy-language-server - A language server for Groovy — designed for Moonshine IDE, but may be useful in other environments

nvim-treesitter - Nvim Treesitter configurations and abstraction layer

mason-lspconfig.nvim - Extension to mason.nvim that makes it easier to use lspconfig with mason.nvim.

vim-lsp - async language server protocol plugin for vim and neovim

null-ls.nvim - Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua.

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
Nutrient – The #1 PDF SDK Library, trusted by 10K+ developers
Other PDF SDKs promise a lot - then break. Laggy scrolling, poor mobile UX, tons of bugs, and lack of support cost you endless frustrations. Nutrient’s SDK handles billion-page workloads - so you don’t have to debug PDFs. Used by ~1 billion end users in more than 150 different countries.
www.nutrient.io
featured

Did you know that TypeScript is
the 1st most popular programming language
based on number of references?