Function: gptel-highlight--fringe-prefix

gptel-highlight--fringe-prefix is a natively compiled function defined in gptel.el.

Signature

(gptel-highlight--fringe-prefix TYPE)

Documentation

Create fringe prefix string for TYPE.

Supported TYPEs are response, ignore and tool calls.

Source Code

;; Defined in /nix/store/q3r7g81pvghw7a523kjk2k2zih3pfk8z-emacs-packages-deps/share/emacs/site-lisp/elpa/gptel-20261002.545/gptel.el
(defun gptel-highlight--fringe-prefix (type)
  "Create fringe prefix string for TYPE.

Supported TYPEs are response, ignore and tool calls."
  (propertize ">" 'display
              `( left-fringe gptel-highlight-fringe
                 ,(pcase type
                    ('response 'gptel-response-fringe-highlight)
                    ('ignore 'shadow)
                    (`(tool . ,_) 'shadow)))))