-
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
Adapting YCM into a zsh completion engine? #1908
Comments
How would that work? I'm not an expert on the matter, but can you write an http client for a server in zsh that is used while you're typing in the terminal? 😕 |
I'm with @vheon I can't see a use case for YCM (a Vim plugin!) in a shell environment. It might be possible for ycmd to provide completions in some sense, using the REST API, but it really isn't a use-case for which ycmd (designed for code completion/comprehension) was designed. In any event, if anything is required, it lives in the ycmd repo, not YCM (the Vim plugin), so I'm going to close this. I see you've posted on the zsh repo which is where the majority of the zsh understanding lives, so best of luck over there :D |
I use this plugin:https://github.com/Valodim/vim-zsh-completion press ^X^O is work well, but i didn't figure out how to autotrigger. following setting is not working: let g:ycm_semantic_triggers.zsh=['re!\w{2}', '/'] also see: |
If `<C-x><C-o>` works well then `<C-Space>` should work too.
From there you only need to configure semantic triggers. Check the readme
for more info. I'm on my phone so I can't check it right now.
On Dec 3, 2017 12:13 PM, "tracyone" <[email protected]> wrote:
I use this plugin:https://github.com/Valodim/vim-zsh-completion
press ^X^O is work well, but i didn't figure out how to autotrigger.
following setting is not working:
let g:ycm_semantic_triggers.zsh=['re!\w{2}', '/']
also see:
Valodim/vim-zsh-completion#1
<Valodim/vim-zsh-completion#1>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1908 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHbkUxJuiDqacP0OH0uxbhjKCmPejhq1ks5s8oI-gaJpZM4HFnqV>
.
|
@bstaletic hi, finally, i solve this issue, please see this pull request Valodim/vim-zsh-completion#2 |
It looks like some people are working on improving zsh completion definitions at zsh-users/zsh-completions. YCM ranking algorithm is just awesome and and my hands now want to use it all the time.
How difficult would it be to adapt it to zsh, so that one could proudly append zsh to the list of all YCM completion engines?
cross-reference
The text was updated successfully, but these errors were encountered: