Variable: gptel--mode-description-alist

gptel--mode-description-alist is a variable defined in gptel-request.el.

Value

((js2-mode . "Javascript") (sh-mode . "Shell")
 (enh-ruby-mode . "Ruby") (yaml-mode . "Yaml") (yaml-ts-mode . "Yaml")
 (rustic-mode . "Rust") (tuareg-mode . "OCaml"))

Documentation

Mapping from unconventionally named major modes to languages.

This is used when generating system prompts for rewriting and when including context from these major modes.

Source Code

;; Defined in /nix/store/q3r7g81pvghw7a523kjk2k2zih3pfk8z-emacs-packages-deps/share/emacs/site-lisp/elpa/gptel-20261002.545/gptel-request.el
(defvar gptel--mode-description-alist
  '((js2-mode      . "Javascript")
    (sh-mode       . "Shell")
    (enh-ruby-mode . "Ruby")
    (yaml-mode     . "Yaml")
    (yaml-ts-mode  . "Yaml")
    (rustic-mode   . "Rust")
    (tuareg-mode   . "OCaml"))
  "Mapping from unconventionally named major modes to languages.

This is used when generating system prompts for rewriting and
when including context from these major modes.")