Closed avdb13 closed 2 years ago
Please provide steps to reproduce using the minimal vimrc.
If filing a bug report, I have included a minimal test case that reproduces my issue, using vim -Nu /path/to/YCM/vimrc_ycm_minimal, including what I expected to happen and what actually happened.
The bug disappeared suddenly.
Issue Prelude
Please complete these steps and check these boxes (by putting an
x
inside the brackets) before filing your issue:vim --version
.:YcmDebugInfo
.:YcmToggleLogs
command.vim -Nu /path/to/YCM/vimrc_ycm_minimal
, including what I expected to happen and what actually happened.install.py
(orcmake
/make
/ninja
) including its invocationThank 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
I was editing a
.go
file and when I tried to import an external package (golang.org/x/net/html
) and then YCM started complaining about not being able to load the module. I tried restarting Vim, creating a local workspace withgo mod init foo
,go get golang.org/x/net/html
,go doc golang.org/x/net/html
to see if my go tools weren't broken and reading the error logs with no luck. I expected it to not throw an error, let me read documentation about the package and provide autocompletion.Diagnostic data
Output of
vim --version
Printing YouCompleteMe debug information...
Output of
git rev-parse HEAD
in YouCompleteMe installation directoryContents of YCM, ycmd and completion engine logfiles
https://pomf2.lain.la/f/ksah4a0o.7z
OS version, distribution, etc.
Output of build/install commands