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

Using <c-p> completion on text, Omni completion on objects. #189

Open
ajcrites opened this issue Jun 16, 2017 · 0 comments
Open

Using <c-p> completion on text, Omni completion on objects. #189

ajcrites opened this issue Jun 16, 2017 · 0 comments

Comments

@ajcrites
Copy link

Based on my reading of Supertab's docs this is supposed to be the default behavior, but I can't get this to work with my TypeScript setup and <tab> will attempt OmniCompletion in text completion cases.

let g:SuperTabDefaultCompletionType = 'context'
let g:SuperTabContextDefaultCompletionType = '<c-x><c-o>'

If I don't have these set, OmniCompletion is never attempted. If I set them, then OmniCompletion is always attempted.

th<tab> (omni, but I want <c-p> text completion)
this.<tab> (also omni, but this is correct)

Would there be any reason why Supertab is attempting OmniCompletion out of context?

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

1 participant