Discussion: Bracket coloring
When I write lisp in Kate, I often end up in some edge cases with the current bracket colorizer.
- Commenting a line does not uncolor the brackets
- Sometimes I end up with incorrect coloring. The orange color is mismatched in this picture
- When I scroll and come back, I find the color scheme changes for some bracket pairs
This thread is more of a design discussion than a bug report, please bear with me
- Since KSyntaxHighlighting/KWrite already has the information to match bracket pairs, how difficult would it be to use it to paint the brackets instead of doing it in Kate?
- Does it make sense to maintain a side-by-side AST for languages with tree sitter? I understand tree sitter has limited support in terms of the sheer number of languages compared to KSyntaxHighlighting, so this is a downside
Edited by Karthik Nishanth