aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorJoão Távora2025-01-29 08:33:54 +0000
committerJoão Távora2025-01-29 08:56:02 +0000
commite2ff77052da91e662bbd3cb19a742604db742d32 (patch)
tree69cec932aef38683ebc2fcddafc4cc408bc34425 /java
parent2e3b085d447bc2cd1a0e779145be9cab9a15d7af (diff)
downloademacs-e2ff77052da91e662bbd3cb19a742604db742d32.tar.gz
emacs-e2ff77052da91e662bbd3cb19a742604db742d32.zip
Eglot: in eglot-code-action-indications, make 'margin' interactive
Didn't know it was possible, thanks to Ergus <spacibba@aol.com> for the tip about binding [left-margin mouse-2] in the keymap. The technique adopted in 'eglot-mouse-call' possibly still doesn't work very well if the margin thing we're clicking on is not on the line point is currently on. But we don't have that problem (yet?) because LSP action suggestions function mostly on a "at point" basis. * lisp/progmodes/eglot.el (eglot-code-action-indications): Adjust docstring. (eglot--mouse-call): Don't go anywhere except in text area. (eglot-diagnostics-map): Bind eglot-mouse-actions to left-margin.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions