Our great sponsors
-
kok.nvim
Fast as FUCK nvim completion. SQLite, concurrent scheduler, hundreds of hours of optimization.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
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.
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
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.
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.
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.
Yep. Make sure you have cmp-nvim-lsp installed, as well as an LSP server running.
Related posts
- Can anyone explain how to use treesitter with neovim in simple language?
-
nvim-cmp VS kok.nvim - a user suggested alternative
2 projects | 1 Jun 2022
- What's the best plugin for autocompletion?
- Auto-completion plugin alternatives?
- Looks like the nvim-compe plugin is going to be deprecated, replaced by nvim-cmp (eventually)