[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Turing on tree-sitter (was: Call for volunteers: add tree-sitter sup
From: |
Theodor Thornhill |
Subject: |
Re: Turing on tree-sitter (was: Call for volunteers: add tree-sitter support to major modes) |
Date: |
Mon, 10 Oct 2022 08:46:21 +0200 |
Eli Zaretskii <eliz@gnu.org> writes:
>> Date: Sun, 09 Oct 2022 16:25:17 +0300
>> From: Eli Zaretskii <eliz@gnu.org>
>> Cc: emacs-devel@gnu.org, casouri@gmail.com
>>
>> > From: Philip Kaludercic <philipk@posteo.net>
>> > Cc: emacs-devel@gnu.org, Yuan Fu <casouri@gmail.com>
>> > Date: Sun, 09 Oct 2022 12:26:09 +0000
>> >
>> > One more thing, it looks like the usage of tree-sitter is enabled for
>> > python by toggling `python-use-tree-sitter'. Will every mode now have
>> > this kind of an option? I would hope not...
>>
>> That's a separate discussion, so please start a new thread.
>
> So here I am, starting that separate discussion.
>
> Since tree-sitter support is per-language, I do think it makes sense
> for each mode to have its tree-sitter support turned on separately.
> But we could also have a global "turn on tree-sitter support in every
> mode that has it" option, which will turn this on for those modes
> which can be supported by tree-sitter, if the appropriate
> language-support library is installed.
>
> Comments?
+1 for this, but also keep the per-modes customs. Then we can eat the
cake and have it too.
Such a mechanism can be made later, I think?
Theo
Re: Call for volunteers: add tree-sitter support to major modes, Philip Kaludercic, 2022/10/09
Re: Call for volunteers: add tree-sitter support to major modes, Eli Zaretskii, 2022/10/09
- Re: Turing on tree-sitter (was: Call for volunteers: add tree-sitter support to major modes), Eli Zaretskii, 2022/10/10
- Re: Turing on tree-sitter (was: Call for volunteers: add tree-sitter support to major modes),
Theodor Thornhill <=
- Re: Turing on tree-sitter (was: Call for volunteers: add tree-sitter support to major modes), Yuan Fu, 2022/10/10
- Re: Turing on tree-sitter, Philip Kaludercic, 2022/10/10
- Re: Turing on tree-sitter, Eli Zaretskii, 2022/10/10
- Re: Turing on tree-sitter, Stefan Monnier, 2022/10/10
- Re: Turing on tree-sitter, Daniel MartÃn, 2022/10/10
- Re: Turing on tree-sitter, Eli Zaretskii, 2022/10/10
- Re: Turing on tree-sitter, Yuan Fu, 2022/10/10
- Re: Turing on tree-sitter, Philip Kaludercic, 2022/10/10
- Re: Turing on tree-sitter, Yuan Fu, 2022/10/10
- Re: Turing on tree-sitter, Theodor Thornhill, 2022/10/10