Function: eca-editor--lsp-to-eca-severity

eca-editor--lsp-to-eca-severity is a natively compiled function defined in eca-editor.el.

Signature

(eca-editor--lsp-to-eca-severity SEVERITY)

Documentation

Convert lsp SEVERITY to eca one.

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-editor.el
(defun eca-editor--lsp-to-eca-severity (severity)
  "Convert lsp SEVERITY to eca one."
  (pcase severity
    (1 "error")
    (2 "warning")
    (3 "info")
    (4 "hint")
    (_ "unknown")))