Neovim LSP: Setup nvim-lspconfig + nvim-cmp

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • LearnThisRepo.com - Learn 300+ open source libraries for free using AI.
  • WorkOS - The modern API for authentication & user identity.
  • nvim-lspconfig

    Quickstart configs for Nvim LSP

    Out of the box neovim offers the tools to start and query a language server but it doesn't have any opinion on how we should use them. Enter nvim-lspconfig, with it neovim can scan the "root directory" of a project and choose which language server you configured should be initialiazed.

  • nvim-cmp

    A completion plugin for neovim coded in Lua.

    And then we have nvim-cmp, the autocompletion plugin. I think the completions provided by neovim are good enough but the thing is it requires a fair amount of manual intervention. Modern code editors have all this automated in a way that feels more intuitive, this is what nvim-cmp offers. We can have that smart autocompletion in neovim.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • cmp-buffer

    nvim-cmp source for buffer words

    cmp-buffer

  • cmp-path

    nvim-cmp source for path

    cmp-path

  • cmp-nvim-lsp

    nvim-cmp source for neovim builtin LSP client

    cmp-nvim-lsp

  • LuaSnip

    Snippet Engine for Neovim written in Lua.

    LuaSnip

  • friendly-snippets

    Set of preconfigured snippets for different languages.

    friendly-snippets

  • LearnThisRepo.com

    Learn 300+ open source libraries for free using AI. LearnThisRepo lets you learn 300+ open source repos including Postgres, Langchain, VS Code, and more by chatting with them using AI!

  • nvim-lsp-installer

    Further development has moved to https://github.com/williamboman/mason.nvim!

    Sooner or later you are going to find out about this plugin: nvim-lsp-installer. With it you can manage your language servers using neovim. You'll be able to install, update and remove language server.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts