-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Triggering flycheck-popup-tip
clears the selected region
#7242
Comments
I want to note that there's a syntax error, i.e. a missing comma, on line 15 in the code above. Adding a comma makes the region work as expected. I think the bug still stands as I would expect the region to stay active despite the syntax error. |
I've run into what I believe to be this issue, and it can be triggered without eglot (though if it turns out to just be similar I'll open a new issue). I have eglot disabled, but I lose my region in elisp scratch buffers when I move my cursor over an error. I've managed to reproduce with only the following:
2024-04-07.22-07-11.mp4my
|
This is probably EDIT: sure enough: flycheck/flycheck-popup-tip#14. And this will only affect non-evil users, thanks to this advice. |
can indeed confirm that |
flycheck-popup-tip
clears the selected region
As of 6756911 this should be resolved for folks not using |
Moving the cursor over a flycheck-highlighted error will display the error message in a popup. Displaying that popup could clear the active selection (doomemacs#7242), which is disruptive. This only affected non-Evil users and users not using the module's +childframe flag, but should no longer affect anyone after this commit. Fix: doomemacs#7242 Ref: flycheck/flycheck-popup-tip#14
I confirm that...
Expected behavior
With
eglot
enabled, when I set mark and move the cursor within a buffer, I would expected the region to stay active and expand/shrink based on my cursors position. Here's an example of the expected behavior, withouteglot
, that is, otherwise the same setup as the current behavior below, but recorded aftereglot-shutdown
.without-eglot.mov
Current behavior
With
eglot
enabled, when the cursor moves onto a line witheglot
error, the region gets cleared/unselected. See the video below. The region selection works as expected on the first couple of lines, but when I move the cursor to a region whereeglot
reports an error, the region suddenly disappears.with-eglot.mov
Steps to reproduce
(lsp +eglot)
and(python +lsp +pyright +conda +cython)
configurations ininit.el
.eglot
is enabled.eglot
reports an error.System Information
https://pastebin.com/EMjHtP6w
The text was updated successfully, but these errors were encountered: