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

Fix: remove undo break when confirm complete #1867

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

zyd2001
Copy link

@zyd2001 zyd2001 commented Mar 31, 2024

When there is no snippet expansion, I expect cmp's behavior is the same as builtin omnifunc completion.
The issue is after confirmation, the '[' mark and undo behavior is not matched. Undo will undo all input for that insert session but '[' mark is after previous completion.

2024-03-31.012138.mp4

Omnifunc completion behavior and after the PR:

20240331-0526-03.4273865.mp4

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

Successfully merging this pull request may close these issues.

1 participant