Is it a bad config or cmp isn't as smart as VSCode autocompletion?

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

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
InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com
featured
  1. nvim-config

    This is my config (as I'm a newbie to nvim, it's mostly a compilation of suggested configs from docs): https://github.com/flppv/nvim-config/blob/master/lua/plugins/cmp.lua

  2. CodeRabbit

    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 logo
  3. kok.nvim

    Fast as FUCK nvim completion. SQLite, concurrent scheduler, hundreds of hours of optimization.

    I'd be happy for someone who knows more about this to correct me. But in my experience as well, nvim-cmp is not as good completion as vscode, its suggestions can be all over the place sometimes. I found that coq_nvim tends to better in this regard. I still prefer nvim-cmp for other reasons but you should definitely try coq_nvim out and see if you have a better experience.

  4. Maybe you need to tweak the tsconfig.json? I've tested tsserver in this codebase and it worked fine (for my standards). Here is the config I used.

  5. nvim-starter

    Neovim example configuration. To help you start in your journey

    Maybe you need to tweak the tsconfig.json? I've tested tsserver in this codebase and it worked fine (for my standards). Here is the config I used.

  6. cmp-nvim-lsp

    nvim-cmp source for neovim builtin LSP client

    Yep. Make sure you have cmp-nvim-lsp installed, as well as an LSP server running.

  7. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
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

  • Can anyone explain how to use treesitter with neovim in simple language?

    2 projects | /r/neovim | 2 Dec 2022
  • nvim-cmp VS kok.nvim - a user suggested alternative

    2 projects | 1 Jun 2022
  • What's the best plugin for autocompletion?

    2 projects | /r/neovim | 17 Apr 2022
  • Auto-completion plugin alternatives?

    4 projects | /r/neovim | 10 Oct 2021
  • Looks like the nvim-compe plugin is going to be deprecated, replaced by nvim-cmp (eventually)

    8 projects | /r/neovim | 23 Aug 2021

Did you know that Lua is
the 18th most popular programming language
based on number of references?