Hacker News with Generative AI: Syntax Highlighting

Ask HN: Any editor with semantic, not syntax, highlighting? (ycombinator.com)
I've recently realized that the reason I seem unable to find a satisfactory syntax highlighting strategy, is that I don't really need any help to tell keywords from variables, strings from operators and so on, but rather to catch subtle mistakes like undefined functions or mispelled variable names.
Emacs Tree-sitter custom highlighting (blogspot.com)
A few years ago I blogged about custom tree-sitter-based syntax highlighting in emacs. I started out with highlighting certain keywords in red. I wanted to show the keywords that interrupt control flow:
Delta: A syntax-highlighting pager for Git, diff, grep, and blame output (github.com/dandavison)
A syntax-highlighting pager for git, diff, and grep output
Weird Lexical Syntax (justine.lol)
I just learned 42 programming languages this month to build a new syntax highlighter for llamafile. I feel like I'm up to my eyeballs in programming languages right now. Now that it's halloween, I thought I'd share some of the spookiest most surprising syntax I've seen.
Pygments, a Generic Syntax Highlighter (pygments.org)