-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when using deoplete #94
Comments
Actually, this looks like its a racer problem. Calling racer manually to complete the position (
Note the line break between the "MATCH SE" and the "pub const A_CONST,8,10,src/lib.rs,Const,pub const SE". |
Adding I opened an issue there (racer-rust/racer#746). |
OK. I wait until the problem is fixed. |
Any update on this? Expiriencing the same issue |
No response from upstream yet. |
From taking a look at the issue opened on racer it looks like this issue has been resolved upstream 14 days ago |
OK. |
In certain situations I get an error when adding a new global constant.
The error is
Steps to reproduce using
nvim -u minimal.vim
minimal.vim
Steps
Create a new project
cargo new tmp cd tmp
Edit the generated
lib.rs
Add a constant to the file. For example, the file might then look like this:
In the line above the const, try to add another constant. For example:
You will get an error after writing just
pub const SE
(since that is the default minimum length for completion).I added a debug print line to the
gather_candidates
function ofracer.py
. Apparently when the error occurs it is becausecompletions
is a single item array containing just the identifier of the partially typed second constant.The text was updated successfully, but these errors were encountered: