Closed phush0 closed 6 years ago
Does it work if you use / or \\ instead of \* ?
Where is the .ycm_extra_conf.py
file that is supposed to be automatically loaded?
ycm have to report that have found global extra conf
You need to set the g:ycm_global_ycm_extra_conf
option for that. g:ycm_extra_conf_globlist
is for regular .ycm_extra_conf.py
files.
Does it work if you use / or \ instead of * ?
Backslashes don't need to be escaped when single quotes are used in Vimscript.
so let me explain more:
In MacOSX I have on global file .ycm_extra_conf.py which is placed in my home directory and setting let g:ycm_extra_conf_globlist = ['~/*']
is working perfect, I use only one such file for all my projects.
Recently I have to move to WIndows and moved the same .vim config and same .ycm_extra_conf.py to my windows system. Extra conf is working if placed in project dir.
I have tired:
~/*
~\\*
~\*
C:\\Users\my_user\\*
C:\Users\my_user\*
C:/Users/my_user/*
even placed file name none of them is seaming to work.
Your project is not under the C:\Users\my_user
directory so it can't find your .ycm_extra_conf.py
file. Like I said, you should use the g:ycm_global_ycm_extra_conf
option to specify a global extra conf.
The g:ycm_global_ycm_extra_conf works, but on MacOS ot is working only with globlist. Problem solved please close the topic
Issue Prelude
Please complete these steps and check these boxes (by putting an
x
inside the brackets) before filing your issue:[ * ] I have read and understood YCM's CONTRIBUTING document.
[ * ] I have read and understood YCM's CODE_OF_CONDUCT document.
[ * ] I have read and understood YCM's README, especially the Frequently Asked Questions section.
[ * ] I have searched YCM's issue tracker to find issues similar to the one I'm about to report and couldn't find an answer to my problem. (Example Google search.)
[ * ] If filing a bug report, I have included the output of
vim --version
.[ * ] If filing a bug report, I have included the output of
:YcmDebugInfo
.[ ] If filing a bug report, I have attached the contents of the logfiles using the
:YcmToggleLogs
command.[ * ] If filing a bug report, I have included which OS (including specific OS version) I am using.
[ ] If filing a bug report, I have included a minimal test case that reproduces my issue, including what I expected to happen and what actually happened.
[ ] If filing a installation failure report, I have included the entire output of
install.py
(orcmake
/make
/ninja
) including its invocation[ * ] I understand this is an open-source project staffed by volunteers and that 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.
[ * ] I understand my issue may be closed if it becomes obvious I didn't 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
let g:ycm_extra_conf_globlist = ['~\*'] I have tried commands described in README.md with simple python script and result is proper path
ycm have to report that have found global extra conf
ycm can't find it same is working under MacOSX
Diagnostic data
Output of
vim --version
Contents of YCM, ycmd and completion engine logfiles
OS version, distribution, etc.
Platform ServicePack Version VersionString
Win32NT 10.0.17134.0 Microsoft Windows NT 10.0.17134.0
Output of build/install commands