[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Initial fontification in sh-mode with tree-sittter
From: |
Stefan Monnier |
Subject: |
Re: Initial fontification in sh-mode with tree-sittter |
Date: |
Fri, 28 Oct 2022 12:15:01 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Stefan Kangas [2022-10-28 08:57:07] wrote:
> João Paulo Labegalini de Carvalho <jaopaulolc@gmail.com> writes:
>> + (setq-local treesit-font-lock-feature-list
>> + '((basic) (moderate) (elaborate)))
> I see that most modes on the branch seem to be using those three symbols
> for now.
Indeed, it's sad. It's goes against the idea being
`treesit-font-lock-feature-list` which is to map features to levels.
It doesn't make much sense to call a highlight feature "moderate".
Highlight feature names should be things like "function names", "nested
functions", "multiline docstrings", "punctuation".
Stefan
- Re: Initial fontification in sh-mode with tree-sittter, (continued)
- Re: Initial fontification in sh-mode with tree-sittter, Yuan Fu, 2022/10/28
- Re: Initial fontification in sh-mode with tree-sittter, Daniel Martín, 2022/10/28
- Re: Initial fontification in sh-mode with tree-sittter, Yuan Fu, 2022/10/30
- Re: Initial fontification in sh-mode with tree-sittter, Yuan Fu, 2022/10/31
- Re: Initial fontification in sh-mode with tree-sittter, Daniel Martín, 2022/10/31
- Re: Initial fontification in sh-mode with tree-sittter, Yuan Fu, 2022/10/31
Re: Initial fontification in sh-mode with tree-sittter, Stefan Kangas, 2022/10/27
Re: Initial fontification in sh-mode with tree-sittter, João Paulo Labegalini de Carvalho, 2022/10/28
- Re: Initial fontification in sh-mode with tree-sittter, Stefan Kangas, 2022/10/28
- Re: Initial fontification in sh-mode with tree-sittter,
Stefan Monnier <=
- Re: Initial fontification in sh-mode with tree-sittter, Theodor Thornhill, 2022/10/28
- Re: Initial fontification in sh-mode with tree-sittter, João Paulo Labegalini de Carvalho, 2022/10/28
- Re: Initial fontification in sh-mode with tree-sittter, Stefan Monnier, 2022/10/28
- Re: Initial fontification in sh-mode with tree-sittter, Yuan Fu, 2022/10/28
- Re: Initial fontification in sh-mode with tree-sittter, Stefan Monnier, 2022/10/28
- Re: Initial fontification in sh-mode with tree-sittter, Yuan Fu, 2022/10/31
- Re: Initial fontification in sh-mode with tree-sittter, Stefan Monnier, 2022/10/31
Re: Initial fontification in sh-mode with tree-sittter, Augusto Stoffel, 2022/10/29
Re: Initial fontification in sh-mode with tree-sittter, Yuan Fu, 2022/10/28