emacs-devel
[Top][All Lists]
Advanced

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

Re: Turning on/off tree-sitter modes


From: Stefan Monnier
Subject: Re: Turning on/off tree-sitter modes
Date: Tue, 03 Dec 2024 08:26:01 -0500
User-agent: Gnus/5.13 (Gnus v5.13)

>> Do you have a concrete example?
>
> cmake-ts-mode, dockerfile-ts-mode, elixir-ts-mode, lua-ts-mode, to
> name just a few.  Basically any FOO-ts-mode for which we don't have a
> corresponding FOO-mode.

Let's take the `cmake-ts-mode` as an example, then.
I consider it currently broken:

    emacs -Q foo.cmake

should put you in `cmake-ts-mode` when you have the CMake
tree-sitter grammar installed, but instead it remains in
fundamental-mode.

Until this is fixed I don't see any sense in discussing how the users
can specify whether they prefer `cmake-mode` or `cmake-ts-mode`.


        Stefan




reply via email to

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