Variable: treesit-language-display-name-alist
treesit-language-display-name-alist is a variable defined in
treesit.el.gz.
Value
((charp . "C#") (cmake . "CMake") (cpp . "C++") (gomod . "Go Mod")
(heex . "HEEx") (json . "JSON") (php . "PHP") (tsx . "TSX"))
Documentation
An alist mapping language symbols to their display names.
Used by treesit-language-display-name. If there's no mapping for a
language in this alist, treesit-language-display-name converts the
symbol to the display name by capitalizing the first letter of the
symbol's name. Thus, languages like Java, Javascript, Rust don't need
an entry in this variable.
Probably introduced at or before Emacs version 31.1.
Source Code
;; Defined in /usr/src/emacs/lisp/treesit.el.gz
;; The entries are sorted by `sort-lines'.
(defvar treesit-language-display-name-alist
'(
(charp . "C#")
(cmake . "CMake")
(cpp . "C++")
(gomod . "Go Mod")
(heex . "HEEx")
(json . "JSON")
(php . "PHP")
(tsx . "TSX")
)
"An alist mapping language symbols to their display names.
Used by `treesit-language-display-name'. If there's no mapping for a
language in this alist, `treesit-language-display-name' converts the
symbol to the display name by capitalizing the first letter of the
symbol's name. Thus, languages like Java, Javascript, Rust don't need
an entry in this variable.")