-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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 not loading for: 'rust' #259
Comments
See YCM example here: https://github.com/junegunn/vim-plug#on-demand-loading-of-plugins The reason YCM does not load is that it only executes its Enable function on |
I changed my line to: Plug 'Valloric/YouCompleteMe', { 'do': './install.sh --clang-completer', 'for': ['c', 'cpp', 'objc', 'objcpp', 'cs', 'python', 'rust'] } and it works, without the line you suggested that I should add: autocmd! User YouCompleteMe call youcompleteme#Enable() 😕 |
Maybe they changed something? I don't know, I don't use YCM. Anyway, Plug 'foo', { 'for': 'a,b,c' }
Plug 'bar', { 'for': 'b,c' } When a file of type But if you specify the types as a list, vim-plug will correctly handle such cases. Plug 'foo', { 'for': ['a', 'b', 'c'] }
Plug 'bar', { 'for': ['b', 'c'] } |
In my vimc I have the following line:
Oddly enough, it does not load the YouCompleteMe plugin for rust file types (
.rs
files). However, I also have these lines specific for rust, but they seem to be loaded:If I remove the
'for': 'c,cpp,objc,objcpp,cs,python,rust'
then it works fine, i.e. if I have the following instead:Note for those interested, I'm using YCM to automatically pop-up Racer's omni-complete via manually setting an entry for rust in
g:ycm_semantic_triggers
.The text was updated successfully, but these errors were encountered: