Variable: treesit-language-source-alist
treesit-language-source-alist is a variable defined in treesit.el.gz.
Value
Large value
((python "https://github.com/tree-sitter/tree-sitter-python" :commit
"bffb65a8cfe4e46290331dfef0dbf0ef3679de11")
(javascript "https://github.com/tree-sitter/tree-sitter-javascript"
:commit "108b2d4d17a04356a340aea809e4dd5b801eb40d")
(jsdoc "https://github.com/tree-sitter/tree-sitter-jsdoc" :commit
"b253abf68a73217b7a52c0ec254f4b6a7bb86665")
(css "https://github.com/tree-sitter/tree-sitter-css" :commit
"6a442a3cf461b0ce275339e5afa178693484c927")
(bash "https://github.com/tree-sitter/tree-sitter-bash" :commit
"487734f87fd87118028a65a4599352fa99c9cde8")
(html "https://github.com/tree-sitter/tree-sitter-html" :commit
"d9219ada6e1a2c8f0ab0304a8bd9ca4285ae0468")
(java "https://github.com/tree-sitter/tree-sitter-java" :commit
"94703d5a6bed02b98e438d7cad1136c01a60ba2c")
(doxygen
"https://github.com/tree-sitter-grammars/tree-sitter-doxygen"
:commit "1e28054cb5be80d5febac082706225e42eff14e6")
(rust "https://github.com/tree-sitter/tree-sitter-rust" :commit
"18b0515fca567f5a10aee9978c6d2640e878671a")
(c "https://github.com/tree-sitter/tree-sitter-c" :commit
"3aa2995549d5d8b26928e8d3fa2770fd4327414e")
(cpp "https://github.com/tree-sitter/tree-sitter-cpp" :commit
"f41b4f66a42100be405f96bdc4ebc4a61095d3e8")
(cmake "https://github.com/uyha/tree-sitter-cmake" :commit
"e409ae33f00e04cde30f2bcffb979caf1a33562a")
(c-sharp "https://github.com/tree-sitter/tree-sitter-c-sharp" :commit
"362a8a41b265056592a0c3771664a21d23a71392")
(dockerfile "https://github.com/camdencheek/tree-sitter-dockerfile"
:commit "087daa20438a6cc01fa5e6fe6906d77c869d19fe")
(heex "https://github.com/phoenixframework/tree-sitter-heex" :commit
"f6b83f305a755cd49cf5f6a66b2b789be93dc7b9")
(elixir "https://github.com/elixir-lang/tree-sitter-elixir" :commit
"02a6f7fd4be28dd94ee4dd2ca19cb777053ea74e")
(go "https://github.com/tree-sitter/tree-sitter-go" :commit
"12fe553fdaaa7449f764bc876fd777704d4fb752")
(gomod "https://github.com/camdencheek/tree-sitter-go-mod" :commit
"3b01edce2b9ea6766ca19328d1850e456fde3103")
(gowork "https://github.com/omertuc/tree-sitter-go-work" :commit
"949a8a470559543857a62102c84700d291fc984c")
(json "https://github.com/tree-sitter/tree-sitter-json" :commit
"4d770d31f732d50d3ec373865822fbe659e47c75")
(lua "https://github.com/tree-sitter-grammars/tree-sitter-lua"
:commit "db16e76558122e834ee214c8dc755b4a3edc82a9")
(php "https://github.com/tree-sitter/tree-sitter-php" :commit
"5b5627faaa290d89eb3d01b9bf47c3bb9e797dea" :source-dir "php/src")
(phpdoc "https://github.com/claytonrcarter/tree-sitter-phpdoc"
:commit "03bb10330704b0b371b044e937d5cc7cd40b4999")
(ruby "https://github.com/tree-sitter/tree-sitter-ruby" :commit
"71bd32fb7607035768799732addba884a37a6210")
(typescript "https://github.com/tree-sitter/tree-sitter-typescript"
:commit "8e13e1db35b941fc57f2bd2dd4628180448c17d5"
:source-dir "typescript/src")
(tsx "https://github.com/tree-sitter/tree-sitter-typescript" :commit
"8e13e1db35b941fc57f2bd2dd4628180448c17d5" :source-dir "tsx/src")
(markdown
"https://github.com/tree-sitter-grammars/tree-sitter-markdown"
:commit "413285231ce8fa8b11e7074bbe265b48aa7277f9" :source-dir
"tree-sitter-markdown/src")
(markdown-inline
"https://github.com/tree-sitter-grammars/tree-sitter-markdown"
:commit "413285231ce8fa8b11e7074bbe265b48aa7277f9" :source-dir
"tree-sitter-markdown-inline/src")
(toml "https://github.com/tree-sitter-grammars/tree-sitter-toml"
:commit "64b56832c2cffe41758f28e05c756a3a98d16f41")
(yaml "https://github.com/tree-sitter-grammars/tree-sitter-yaml"
:commit "b733d3f5f5005890f324333dd57e1f0badec5c87")
(gitattributes
"https://github.com/tree-sitter-grammars/tree-sitter-gitattributes"
:commit "5425944fd61bf2b3bad2c17c2dc9f53172b0f01d" :copy-queries t)
(liquid "https://github.com/hankthetank27/tree-sitter-liquid" :commit
"d6ebde3974742cd1b61b55d1d94aab1dacb41056" :copy-queries t))
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++ COMMIT))
Only LANG and URL are mandatory. LANG is the language symbol. URL is the URL of the grammar's Git repository or a directory where the repository has been cloned.
REVISION is the Git tag or branch of the desired version, defaulting to the latest default branch. If COMMIT is non-nil, checkout this commit hash after cloning the repo. COMMIT has precedence over REVISION if both are non-nil.
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.
Another way to specify optional data is to use keywords:
(LANG . (URL [KEYWORD VALUE]...))
The currently supported keywords:
:revision is the same as REVISION above.
:source-dir is the same as SOURCE-DIR above.
:cc is the same as CC above.
:c++ is the same as C++ above.
:commit is the same as COMMIT above.
:copy-queries when non-nil specifies whether to copy the files
in the "queries" directory from the source directory to the
installation directory.
Probably introduced at or before Emacs version 30.1.
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++ COMMIT))
Only LANG and URL are mandatory. LANG is the language symbol.
URL is the URL of the grammar's Git repository or a directory
where the repository has been cloned.
REVISION is the Git tag or branch of the desired version, defaulting to
the latest default branch. If COMMIT is non-nil, checkout this commit
hash after cloning the repo. COMMIT has precedence over REVISION if
both are non-nil.
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.
Another way to specify optional data is to use keywords:
(LANG . (URL [KEYWORD VALUE]...))
The currently supported keywords:
`:revision' is the same as REVISION above.
`:source-dir' is the same as SOURCE-DIR above.
`:cc' is the same as CC above.
`:c++' is the same as C++ above.
`:commit' is the same as COMMIT above.
`:copy-queries' when non-nil specifies whether to copy the files
in the \"queries\" directory from the source directory to the
installation directory.")