Variable: treesit-language-source-alist
treesit-language-source-alist is a variable defined in treesit.el.gz.
Value
nil
Documentation
Configuration for downloading and installing tree-sitter language grammars.
The value should be an alist where each element has the form
(LANG . (URL REVISION SOURCE-DIR CC C++))
Only LANG and URL are mandatory. LANG is the language symbol. URL is the Git repository URL for the grammar.
REVISION is the Git tag or branch of the desired version, defaulting to the latest default branch.
SOURCE-DIR is the relative subdirectory in the repository in which the grammar's parser.c file resides, defaulting to "src".
CC and C++ are C and C++ compilers, defaulting to "cc" and
"c++", respectively.
Source Code
;; Defined in /usr/src/emacs/lisp/treesit.el.gz
;;; Install & build language grammar
(defvar treesit-language-source-alist nil
"Configuration for downloading and installing tree-sitter language grammars.
The value should be an alist where each element has the form
(LANG . (URL REVISION SOURCE-DIR CC C++))
Only LANG and URL are mandatory. LANG is the language symbol.
URL is the Git repository URL for the grammar.
REVISION is the Git tag or branch of the desired version,
defaulting to the latest default branch.
SOURCE-DIR is the relative subdirectory in the repository in which
the grammar's parser.c file resides, defaulting to \"src\".
CC and C++ are C and C++ compilers, defaulting to \"cc\" and
\"c++\", respectively.")