-
Notifications
You must be signed in to change notification settings - Fork 42
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
Overlay conflicts with eglot #82
Comments
@hmelman found any workaround? this's kind of annoying. |
purcell
added a commit
that referenced
this issue
Jul 27, 2023
I pushed a quick change to add this. 🤝 |
Perfect! This feature has changed my life. 😆 (setq symbol-overlay-priority 100) |
It's working well for me too. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using (trying out)
eglot
withpython-mode
and it highlights thesymbol-at-point
with an overlay. I usedsymbol-overlay-put
and other occurrences of the symbol highlighted (more clearly), but the keymapsymbol-overlay
installs didn't work. If I typedn
the character was just inserted (eglot's overlay had amodification-hooks
property if that matters), it didn't runsymbol-overlay-jump-next
.I assumed it was because of conflicting overlays and added a 'priority 100 to the
symbol-overlay
overlay and it worked great. I don't know as there's a good solution (there was also aflymake
overlay at point) but I think it would help ifsymbol-overlay
included a priority in the overlays it uses and gives the user asymbol-overlay-priority
user option to customize. That way we could resolve whatever conflicts we come across.The text was updated successfully, but these errors were encountered: