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

Don't echom if not in normal mode #4560

Merged
merged 1 commit into from
Jul 31, 2023

Conversation

amadeus
Copy link
Contributor

@amadeus amadeus commented Jul 22, 2023

I've been running into this issue for a couple years now: #3621 where often times I would make a visual selection only to be interrupted and booted out of visual mode back into normal mode and finally decided to do some digging into how to fix it.

w0rp suggested a fix which I've attempted to apply to the ale#cursor#Echom method. Not entirely sure if this is the right way to fix it, but using it for a day it definitely hasn't repro'd for me since

@w0rp
Copy link
Member

w0rp commented Jul 31, 2023

I'll merge this and see if this somehow causes anything to go wrong.

@w0rp w0rp merged commit 1174b3b into dense-analysis:master Jul 31, 2023
7 checks passed
@w0rp
Copy link
Member

w0rp commented Jul 31, 2023

Cheers! 🍻

@amadeus amadeus deleted the visual-mode-fix branch July 31, 2023 07:50
mnikulin pushed a commit to mnikulin/ale that referenced this pull request Nov 12, 2023
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.

None yet

2 participants