Function: eca-chat--completion-item-kind

eca-chat--completion-item-kind is a natively compiled function defined in eca-chat-context.el.

Signature

(eca-chat--completion-item-kind ITEM)

Documentation

Return the kind for ITEM.

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat-context.el
;;;; Completion functions

(defun eca-chat--completion-item-kind (item)
  "Return the kind for ITEM."
  (alist-get (plist-get item :type)
             eca-chat--kind->symbol
             nil
             nil
             #'string=))