How in the world do you set up nvim-cmp?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/neovim

Our great sponsors
  • Scout APM - Less time debugging, more time building
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • SaaSHub - Software Alternatives and Reviews
  • LunarVim

    An IDE layer for Neovim with sane defaults. Completely free and community driven.

    This probably isn't the answer you're looking for, but I switched to LunarVim so I could stop worrying about this kind of stuff. At its core, LunarVim is just Neovim with many useful plugins preconfigured. I still have my own config on top of LunarVim, but the defaults are much more sane, and 95% of the preconfigured plugins are things I want.

  • Neovim-from-scratch

    A Neovim config designed from scratch to be understandable

    You can checkout a tutorial for setting neovim up from scratch. There is separate branch for every piece and for some, including nvim-cmp, there are video tutorials.

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • My most recent plugin is debugpy.nvim. There is not setup function, you install it and it works out of the box (it depends on the nvim-dap plugin, but you don't have to configure that either to use with debugpy.nvim). You get the :Debugpy command with a reasonable set of default behaviour and that's it. If you actually want to configure the plugin there is a documented API you can read about. My entire personal configuration fits into ten lines of Lua, out of which only three are actual configuration:

  • nvim-dap

    Debug Adapter Protocol client implementation for Neovim

    My most recent plugin is debugpy.nvim. There is not setup function, you install it and it works out of the box (it depends on the nvim-dap plugin, but you don't have to configure that either to use with debugpy.nvim). You get the :Debugpy command with a reasonable set of default behaviour and that's it. If you actually want to configure the plugin there is a documented API you can read about. My entire personal configuration fits into ten lines of Lua, out of which only three are actual configuration:

  • completion-nvim

    A async completion framework aims to provide completion to neovim's built in LSP written in Lua

    You don't, nvim-cmp sets up you. Jokes aside, I am using completion-nvim. Unfortunately it got abandoned just as Neovim 0.5.1 got released, which contained a breaking change. You can look into the pending PRs to see how to fix it for yourself, just use one of the fixed forks. It really sucks, but unless someone steps up an creates a new completion plugin that's what I am stuck with.

  • zls

    Zig LSP implementation + Zig Language Server

    cd $HOME/.local/zls && curl -L https://github.com/zigtools/zls/releases/download/0.9.0/x86_64-macos.tar.xz | tar -xJ --strip-components=1 -C .

  • nvim-lspconfig

    Quickstart configurations for the Nvim LSP client

    Maybe this PR would have helped you. nvim-lspconfig doesn't care what version of typescript you use, but probably it needs to match the angular language server/angular version. I'm personally not a web developer and am not able to offer much support there.

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

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