You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Commit 9c3c77d changed syntax highlight colors for keys in YAML files. And I'm just curious as to what the underlying reason for this change was.
While the old query marked the key nodes as @variable, it was to retain as close as possibly syntax highlighting to yaml-mode without tree-sitter, so as to not feel like too drastic of a change when enabling tree-sitter-mode.
Screenshots
Here's a few screenshots demonstrating how 9c3c77d has affected things:
Commit 9c3c77d changed syntax highlight colors for keys in YAML files. And I'm just curious as to what the underlying reason for this change was.
While the old query marked the key nodes as
@variable
, it was to retain as close as possibly syntax highlighting toyaml-mode
without tree-sitter, so as to not feel like too drastic of a change when enabling tree-sitter-mode.Screenshots
Here's a few screenshots demonstrating how 9c3c77d has affected things:
After commit 9c3c77d
Before commit 9c3c77d
yaml-mode
withouttree-sitter-mode
The text was updated successfully, but these errors were encountered: