emacs-devel
[Top][All Lists]
Advanced

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

Re: feature/tree-sitter: Where to Put C/C++ Stuff


From: Eli Zaretskii
Subject: Re: feature/tree-sitter: Where to Put C/C++ Stuff
Date: Tue, 01 Nov 2022 09:20:33 +0200

> Date: Tue, 01 Nov 2022 02:30:54 +0000
> From: Randy Taylor <dev@rjt.dev>
> 
> Where specifically should the C and C++ tree-sitter stuff go? I've been using 
> it for a couple months and would
> like to upstream syntax highlighting for both. I'll focus on getting C done 
> first.
> 
> I see there are a lot of cc- files; would it be appropriate to add the 
> tree-sitter stuff into a new cc-treesit.el file?

I suggest a separate cc-*.el file (e.g., cc-treesit.el), and some user
option to trigger its use instead of (or maybe in addition to, as the
case may be) the equivalent CC mode stuff.

Alan, are you okay with this approach?



reply via email to

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