emacs-devel
[Top][All Lists]
Advanced

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

Re: Tree sitter support for C-like languages


From: Theodor Thornhill
Subject: Re: Tree sitter support for C-like languages
Date: Sun, 13 Nov 2022 14:02:30 +0100

Eli Zaretskii <eliz@gnu.org> writes:

>> Date: Sun, 13 Nov 2022 11:13:24 +0100
>> From: Theodor Thornhill <theo@thornhill.no>
>> CC: casouri@gmail.com, emacs-devel@gnu.org, monnier@iro.umontreal.ca
>> 
>> >> I think the best solution is just to remove the
>> >> 
>> >> ```
>> >>    :language mode
>> >>    :override t
>> >>    :feature 'error
>> >>    '((ERROR) @font-lock-warning-face)
>> >> ```
>> >
>> >What are the downsides of removing this? what will we lose?
>> >
>> 
>> Absolutely nothing. Only the yellow color.
>
> Which yellow color?
>
> And if we lose nothing, why was this in the code to begin with? what
> was the thought behind using it?

The warning face.  My thinking was merely that identifying syntax errors
could be useful, but I now believe this causes more noise and confusion
rather than being a helpful tool.

So there's no need to use it.  These error-nodes can be seen with
'treesit-inspect-mode' for those interested anyways.



reply via email to

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