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 4249 - Revert change to stop compl menu. #4250

Merged
merged 1 commit into from
Jul 13, 2022

Conversation

hsanson
Copy link
Contributor

@hsanson hsanson commented Jul 13, 2022

In #4231 some code was added to stop the completion menu if any when
opening a new one. This resulted in an issue in Vim that fills the
buffer with Ctrl-Z characters when deleting to the end of a line in a
position that triggers auto-completion.

Since auto-completion seems to work fine on all my tests I am reverting
this specific change.

Where are the tests? Have you added tests? Have you updated the tests? Read the
comment above and the documentation referenced in it first. Write tests!

Seriously, read :help ale-dev and write tests.

In dense-analysis#4231 some code was added to stop the completion menu if any when
opening a new one. This resulted in an issue in Vim that fills the
buffer with Ctrl-Z characters when deleting to the end of a line in a
position that triggers auto-completion.

Since auto-completion seems to work fine on all my tests I am reverting
this specific change.
@franckinux
Copy link

Horacio, the commit fixes the issue. Thanks.

@hsanson hsanson merged commit 5ef26c3 into dense-analysis:master Jul 13, 2022
@s-marios
Copy link
Contributor

Ah, I'm really sorry to see this reverted, and honestly speaking I'm surprised this occurs in the first place.

Vim 8.1 should not have the complete_info function defined, and it is even stranger that it somehow got invoked in normal mode, in an infinite loop nonetheless. Anyway, apologies for this mess!

mnikulin pushed a commit to mnikulin/ale that referenced this pull request Nov 12, 2023
In dense-analysis#4231 some code was added to stop the completion menu if any when
opening a new one. This resulted in an issue in Vim that fills the
buffer with Ctrl-Z characters when deleting to the end of a line in a
position that triggers auto-completion.

Since auto-completion seems to work fine on all my tests I am reverting
this specific change.
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.

3 participants