Function: eglot--format-server-message

eglot--format-server-message is a byte-compiled function defined in eglot.el.gz.

Signature

(eglot--format-server-message SERVER TYPE FORMAT &rest ARGS)

Documentation

Format SERVER-originated message with FORMAT with ARGS.

TYPE is a number indicating the message severity.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/eglot.el.gz
(defun eglot--format-server-message (_server type format &rest args)
  "Format SERVER-originated message with FORMAT with ARGS.
TYPE is a number indicating the message severity."
  (concat
   (propertize "[eglot] "
               'face (if (or (not type) (<= type 1)) 'error))
   (apply #'eglot--format format args)))