[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Status update of tree-sitter features
From: |
Yuan Fu |
Subject: |
Re: Status update of tree-sitter features |
Date: |
Thu, 29 Dec 2022 01:23:19 -0800 |
> On Dec 28, 2022, at 7:28 PM, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
>
>>> If it's only about calls, maybe call this category funcall?
>> Function, property and variable are for every occurrence of them (the touted
>> “consistent highlighting”).
>
> In my own use, the difference between a definition and a use is more
> important than the difference between a variable name and a method name.
> I'm not fundamentally opposed to highlighting funcalls, but it is
> indispensable that funcalls get a different face from
> function definitions.
The default behavior is we only highlight definition, and funcall are not
highlighted. So it’s function-face vs no face. More or less fits your bill, I
guess.
Yuan