Shougo / ddc-ui-inline

Inline UI for ddc.vim
MIT License
4 stars 1 forks source link

Do not show completed item after EOL #3

Closed phgz closed 1 year ago

phgz commented 1 year ago

Currently, when we complete an item inside line (not EOL), we still see the suggestion.

Before:

before

This PR adds a rule to not show if the remaining part of suggestion is empty.

After:

after
phgz commented 1 year ago

It still needs some fix however. I have errors when typing typos. Will investigate.

phgz commented 1 year ago

Now should be good (Had unbound variables).

Shougo commented 1 year ago

Merged.