Variable: eglot-inlay-hints-mode

eglot-inlay-hints-mode is a buffer-local variable defined in eglot.el.gz.

Documentation

Non-nil if Eglot-Inlay-Hints mode is enabled.

Use the command eglot-inlay-hints-mode(var)/eglot-inlay-hints-mode(fun) to change this variable.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/eglot.el.gz
(define-minor-mode eglot-inlay-hints-mode
  "Minor mode for annotating buffers with LSP server's inlay hints."
  :global nil
  (cond (eglot-inlay-hints-mode
         (if (eglot-server-capable :inlayHintProvider)
             (jit-lock-register #'eglot--update-hints 'contextual)
           (eglot-inlay-hints-mode -1)))
        (t
         (jit-lock-unregister #'eglot--update-hints)
         (eglot--delete-overlays 'eglot--inlay-hint))))