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

SuperTabChain works just once #194

Open
powerman opened this issue Dec 17, 2017 · 0 comments
Open

SuperTabChain works just once #194

powerman opened this issue Dec 17, 2017 · 0 comments

Comments

@powerman
Copy link

When trying to autocomplete html file (which have &omnifunc defined) with these settings:

let g:SuperTabDefaultCompletionType = '<c-x><c-u>'
autocmd FileType *
    \ if &omnifunc != '' |
    \   call SuperTabChain(&omnifunc, "<c-p>") |
    \ endif

the omni-complete (in tags) works ok, but when I try to complete usual text outside of html tags I get first <c-p> result when I press <Tab> for the first time, but when I press <Tab> second time nothing happens (looks like it tried to complete text already completed by first <Tab> instead of initial text).

Is this expected behaviour (chaining support only first <c-p> result if &omnifunc fails), or misconfiguration or bug?

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