-
Notifications
You must be signed in to change notification settings - Fork 2.8k
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
YCM references rust_src_path
instead of g:ycm_rust_src_path
#2586
Comments
The option is |
setting Why does ycm not use the latter? |
g:rust_src_path
instead of g:ycm_rust_src_path
All options from ycmd (the server to which YCM talks) are prefixed with |
I've submitted ycm-core/ycmd#729 to take care of this. |
It's strange. When I set with |
@wfxr My bet would be something else setting |
@bstaletic |
g:rust_src_path
instead of g:ycm_rust_src_path
rust_src_path
instead of g:ycm_rust_src_path
Like @micbou explained, the options are prefixed with |
This issue has been changed to track how ycm mentions the incorrect variable
Issue Prelude
Please complete these steps and check these boxes (by putting an
x
insidethe brackets) before filing your issue:
Frequently Asked Questions section.
about to report and couldn't find an answer to my problem. (Example Google
search.)
vim --version
.:YcmDebugInfo
.the
:YcmToggleLogs
command.version) I am using.
my issue, including what I expected to happen and what actually happened.
of
install.py
(orcmake
/make
/ninja
) including its invocationthat any help I receive is a selfless, heartfelt gift of their free time. I
know I am not entitled to anything and will be polite and courteous.
actually perform all of these steps.
Thank you for adhering to this process! It ensures your issue is resolved
quickly and that neither your nor our time is needlessly wasted.
Issue Details
This issue is most likely related to #2579 and #2581
YCM reports
RuntimeError: Rust sources path does not exist. Check the value of the rust_src_path option or the RUST_SRC_PATH environment variable.
with:YcmShowDetailedDiagnostic
and other commands. It also doesn't autocomplete ::std, external or local code.The src path is set to
g:rust_src_path /home/localsys/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src
which is reportedly working with a call to complete using a separate installation of racer. This racer installation is able to autocomplete both ::std and external code.This problem started earlier today after previously working and I decided that upgrading YCM could make it fix itself, but no change has been seen.
Logfiles where obtained by opening a .rs file, and then doing
:YcmShowDetailedDiagnostics
Diagnostic data
Output of
vim --version
Vim +huge. (full build here )
Output of
YcmDebugInfo
Contents of YCM, ycmd and completion engine logfiles
YCM Logfiles
OS version, distribution, etc.
Arch linux
The text was updated successfully, but these errors were encountered: