Skip to content
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

Autocompletion with YouCompleteMe #24

Open
alihammad-gist opened this issue Jun 18, 2015 · 2 comments
Open

Autocompletion with YouCompleteMe #24

alihammad-gist opened this issue Jun 18, 2015 · 2 comments

Comments

@alihammad-gist
Copy link

How to automatically show completion menu without explicitly triggering it with shortcut. YouCompleteMe isn't showing suggestion from tsuquyomi. How can i make both of them work together?

@Quramy
Copy link
Owner

Quramy commented Jun 23, 2015

Sorry, I don't use YouCompleteMe.
Consider looking at ymcd TypeScript integration ycm-core/ycmd#161 .

@mkusher
Copy link

mkusher commented Jun 25, 2015

I've just added ycm semantic trigger in my vimrc:

let g:ycm_semantic_triggers['typescript'] = ['.']

or full list:

let g:ycm_semantic_triggers =  {
            \   'c' : ['->', '.'],
            \   'objc' : ['->', '.'],
            \   'ocaml' : ['.', '#'],
            \   'cpp,objcpp' : ['->', '.', '::'],
            \   'perl' : ['->'],
            \   'php' : ['->', '::', '"', "'", 'use ', 'namespace ', '\'],
            \   'cs,java,javascript,typescript,d,python,perl6,scala,vb,elixir,go' : ['.'],
            \   'html': ['<', '"', '</', ' '],
            \   'vim' : ['re![_a-za-z]+[_\w]*\.'],
            \   'ruby' : ['.', '::'],
            \   'lua' : ['.', ':'],
            \   'erlang' : [':'],
            \   'haskell' : ['.', 're!.']
            \ }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants