help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Naming conventions for major modes based on tree-sitter


From: Eli Zaretskii
Subject: Re: Naming conventions for major modes based on tree-sitter
Date: Mon, 26 Jun 2023 14:50:22 +0300

> From: Ruby Iris Juric <ruby@srxl.me>
> Date: Mon, 26 Jun 2023 17:13:11 +1000
> 
> I'm currently developing a major mode based on treesit.el. It seems like
> all major modes included in Emacs include the "ts" signifier in their
> name - is this a convention that all treesit.el-based modes should use,
> or is this only being done to prevent conflicts with existing modes in
> Emacs? I ask since there isn't an existing major mode for this language
> yet, so I'm not sure whether it's good practice for me to include "ts"
> in the mode name.

IMO, it is better to have "-ts-" in the mode's name, so that both
users and developers have an indication that the mode needs
tree-sitter.



reply via email to

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