Skip to content

autocomplete not working with cmp, even though it works with every other language(on NixOS)? #523

Answered by mrcjkb
DockterTeagle asked this question in Q&A
Discussion options

You must be logged in to vote

I have this minimal.lua and I see no auto complete:

nvim-cmp doesn't work if you don't call its setup function.

also for the flake more tips on how to write it would be much appreciated, I am rather new to making dev shells with flakes.

Instead of pkgs for your rust toolchain (cargo, rustc, ...), I recommend using pkgs.rustPlatform.

In general, there's not much I can do to help you when it comes to problems with autocompletion, because rustaceanvim doesn't implement autocompletion.
So the way to troubleshoot this is by bisecting your other plugins and troubleshootin…

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@mrcjkb
Comment options

@DockterTeagle
Comment options

@mrcjkb
Comment options

Answer selected by DockterTeagle
@DockterTeagle
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants