Open pkryger opened 2 years ago
Hello there!
Please note, that I'm by any means expert on theming nor AST parsing. Is that something that could be addressed? Or perhaps a different approach should be considered?
I am not familiar with the inner workings of tree-sitter. So please consider the following a general remark on using Emacs faces.
Basically, when we have a construct that gets its attributes with something like :inherit (face-1 face-2)
we get an implicit face-1+2
which the user/theme cannot customise. Sometimes this is okay, though it generally is better to avoid that practice: either not blend faces or define a face-3
and use it instead.
While using tree-sitter, I encountered this issue in a few scenaria, such as a type+constant combination. I can share specific snippets if you need them.
I've asked @protesilaos to add
tree-sitter
support to hismodus-themes
. In the discussion below, he mentioned that:Please see more in a discussion in the GitLab issue.
Please note, that I'm by any means expert on theming nor AST parsing. Is that something that could be addressed? Or perhaps a different approach should be considered?