emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: treesit-language-source-alist: Presets and/or custom variable?


From: Pankaj Jangid
Subject: Re: treesit-language-source-alist: Presets and/or custom variable?
Date: Thu, 19 Jan 2023 17:45:04 +0530
User-agent: Gnus/5.13 (Gnus v5.13)

Arash Esbati <arash@gnu.org> writes:

> just for the fun of it, I eval'd:
>
> (setq treesit-language-source-alist
>       '((python . ("https://github.com/tree-sitter/tree-sitter-bash.git";))
>         (markdown . ("https://github.com/ikatyang/tree-sitter-markdown.git";))
>         (rust . ("https://github.com/tree-sitter/tree-sitter-rust.git";))
>         (elisp . ("https://github.com/Wilfred/tree-sitter-elisp.git";))))
>
> and did `M-x treesit-install-language-grammar RET LANG RET' four times
> with languages above.

How to compile for langs like "tsx", which requires different value for
"sourcedir" and "grammardir" in the helper build.sh script?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]