[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#67061: [PATCH] Improve syntax highlighting for python-ts-mode
From: |
Yuan Fu |
Subject: |
bug#67061: [PATCH] Improve syntax highlighting for python-ts-mode |
Date: |
Sat, 16 Dec 2023 17:07:22 -0800 |
> On Dec 14, 2023, at 3:51 AM, Dmitry Gutov <dmitry@gutov.dev> wrote:
>
> On 14/12/2023 07:54, Yuan Fu wrote:
>>> I think the 'definition' feature is good for it (going by the name, since
>>> it's an implicit variable declaration), but it could be split off into a
>>> separate feature too.
>> As long as it’s not added to the definition feature, because, again,
>> definition is at level 1 and I don’t want to keep level 1 minimal.
>> Maybe we can use local-definition, or something similar, to signify that
>> this feature highlights scoped definitions.
>
> But you think function parameters should be in 'definition'? They are also
> "scoped", I would say.
I don’t think function parameters should be in ‘definition’. In fact, in my
head, only the variable/function/class name of top-level constructs should be
in ‘definition’. Now I can see that the name ‘definition’ is too vague for my
original intent, and most ts modes probably don’t share the same interpretation
as I do...
Maybe we can allow definition to include more things and move it to level 3,
and add a more restricted ’top-level-definition’ to level 1 to take it’s
current role. WDYT?
Yuan
- bug#67061: [PATCH] Improve syntax highlighting for python-ts-mode, (continued)
- bug#67061: [PATCH] Improve syntax highlighting for python-ts-mode, Dmitry Gutov, 2023/12/10
- bug#67061: [PATCH] Improve syntax highlighting for python-ts-mode, Yuan Fu, 2023/12/11
- bug#67061: [PATCH] Improve syntax highlighting for python-ts-mode, Dmitry Gutov, 2023/12/11
- bug#67061: [PATCH] Improve syntax highlighting for python-ts-mode, Denis Zubarev, 2023/12/11
- bug#67061: [PATCH] Improve syntax highlighting for python-ts-mode, Yuan Fu, 2023/12/12
- bug#67061: [PATCH] Improve syntax highlighting for python-ts-mode, Dmitry Gutov, 2023/12/12
- bug#67061: [PATCH] Improve syntax highlighting for python-ts-mode, Yuan Fu, 2023/12/12
- bug#67061: [PATCH] Improve syntax highlighting for python-ts-mode, Dmitry Gutov, 2023/12/13
- bug#67061: [PATCH] Improve syntax highlighting for python-ts-mode, Yuan Fu, 2023/12/14
- bug#67061: [PATCH] Improve syntax highlighting for python-ts-mode, Dmitry Gutov, 2023/12/14
- bug#67061: [PATCH] Improve syntax highlighting for python-ts-mode,
Yuan Fu <=
- bug#67061: [PATCH] Improve syntax highlighting for python-ts-mode, Dmitry Gutov, 2023/12/17
- bug#67061: [PATCH] Improve syntax highlighting for python-ts-mode, Denis Zubarev, 2023/12/23
- bug#67061: [PATCH] Improve syntax highlighting for python-ts-mode, Eli Zaretskii, 2023/12/16
- bug#67061: [PATCH] Improve syntax highlighting for python-ts-mode, Denis Zubarev, 2023/12/16
- bug#67061: [PATCH] Improve syntax highlighting for python-ts-mode, Dmitry Gutov, 2023/12/17
- bug#67061: [PATCH] Improve syntax highlighting for python-ts-mode, Eli Zaretskii, 2023/12/13
- bug#67061: [PATCH] Improve syntax highlighting for python-ts-mode, Denis Zubarev, 2023/12/16
- bug#67061: [PATCH] Improve syntax highlighting for python-ts-mode, Yuan Fu, 2023/12/16
- bug#67061: [PATCH] Improve syntax highlighting for python-ts-mode, Denis Zubarev, 2023/12/16
- bug#67061: [PATCH] Improve syntax highlighting for python-ts-mode, Eli Zaretskii, 2023/12/23