Eglot: ensure server shutdown turns off eglot-inlay-hints-mode
* lisp/progmodes/eglot.el (eglot--managed-mode-off): Turn off eglot-inlay-hints-mode.
This commit is contained in:
parent
59f66ea302
commit
0622e1f29f
1 changed files with 1 additions and 0 deletions
|
@ -1886,6 +1886,7 @@ Use `eglot-managed-p' to determine if current buffer is managed.")
|
|||
(defun eglot--managed-mode-off ()
|
||||
"Turn off `eglot--managed-mode' unconditionally."
|
||||
(remove-overlays nil nil 'eglot--overlay t)
|
||||
(eglot-inlay-hints-mode -1)
|
||||
(eglot--managed-mode -1))
|
||||
|
||||
(defun eglot-current-server ()
|
||||
|
|
Loading…
Add table
Reference in a new issue