Variable: eglot-mode-line-format
eglot-mode-line-format is a customizable variable defined in
eglot.el.gz.
Value
(eglot-mode-line-menu eglot-mode-line-session eglot-mode-line-error
eglot-mode-line-pending-requests
eglot-mode-line-progress
eglot-mode-line-action-suggestion)
Documentation
Mode line construct for customizing Eglot information.
Meaningful symbols in this construct include:
- eglot-mode-line-menu: access Eglot's main menu. See also
eglot-menu-string;
- eglot-mode-line-session: indicate current project and access current
session's menu;
- eglot-mode-line-error: an indication of recent LSP errors;
- eglot-mode-line-pending-requests: number of pending LSP requests;
- eglot-mode-line-progress: progress reporter widgets;
- eglot-mode-line-action-suggestion: LSP code action at point.
This variable was added, or its default value changed, in Eglot version 1.19.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/eglot.el.gz
;;; Mode-line
;;;
(defcustom eglot-mode-line-format
'(eglot-mode-line-menu
eglot-mode-line-session
eglot-mode-line-error
eglot-mode-line-pending-requests
eglot-mode-line-progress
eglot-mode-line-action-suggestion)
"Mode line construct for customizing Eglot information.
Meaningful symbols in this construct include:
- `eglot-mode-line-menu': access Eglot's main menu. See also
`eglot-menu-string';
- `eglot-mode-line-session': indicate current project and access current
session's menu;
- `eglot-mode-line-error': an indication of recent LSP errors;
- `eglot-mode-line-pending-requests': number of pending LSP requests;
- `eglot-mode-line-progress': progress reporter widgets;
- `eglot-mode-line-action-suggestion': LSP code action at point.
"
:type '(repeat (choice string symbol))
:package-version '(Eglot . "1.19"))