emacs-devel
[Top][All Lists]
Advanced

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

Re: Standardizing tree-sitter fontification features


From: Mattias Engdegård
Subject: Re: Standardizing tree-sitter fontification features
Date: Sat, 3 Dec 2022 15:34:20 +0100

3 dec. 2022 kl. 02.12 skrev Yuan Fu <casouri@gmail.com>:

> - doc-comment seems rather non-standards, and could even be different from 
> project to project.

They actually tend to be quite well standardised for most languages. Main 
exceptions are C and C++, but even there Doxygen seems to dominate.

> So I tend to think it should be turned on/off by a major mode variable in 
> major modes that support this feature. And user can enable/disable it with 
> dir-local or file-local variables.

I definitely think doc comments should be painted differently from other 
comments by default, at least for languages where there is a clear standard.




reply via email to

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