-
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
C-family commit b564b5d doesn't recongnize functions #2699
Comments
I don't see the problem. Could you explain it better? |
Are you using the :imap <C-Space> ? |
@micbou sorry for responding late. I don't know how to explain it, cause ycm didn't give any error messages. printf| "|" where ths cursor is. then trigger ycm, on my system, I press "\\"(twice), I set <leader> = backslash.
|
Thanks, I understand the issue now. Since PR #2657, YCM doesn't set its omnifunc ( inoremap <leader><leader> <C-x><C-o><C-p> invokes the default Vim omnifunc let g:ycm_key_invoke_completion = '<leader><leader>' |
Also, this line: inoremap <expr><CR> pumvisible()?"\<C-y>":"\<CR>" in your vimrc, that closes the completion menu when pressing enter, won't work anymore. You need to replace it with the let g:ycm_key_list_stop_completion = ['<C-y>', '<CR>'] You can remove |
@micbou thank you so much, I thought something missing but there are so many commits between these two. I just try the newest one, and modify these two lines, it works now. Thanks again. |
No, there isn't. We may consider adding a changelog file in the future. |
OS: ubuntu 16.04
Today I update ycm to the latest b564b5d, and download llvm_clang 4.0.1, then rebuild ycm_core. I have done this several times.
When all done, I tried a .c file.
printf
, then trigger ycm, it showsprintf v
orprintf [id]
.I have to set the HEAD back to 19a6a55. use llvm_clang 4.0.1, rebuild, ycm works very well.
The text was updated successfully, but these errors were encountered: