feat: add treesitter highlights for diff files #23

Merged
barrettruth merged 2 commits from feat/treesitter-diff-highlights into main 2026-02-04 21:03:04 +00:00
barrettruth commented 2026-02-04 20:58:56 +00:00

Adds treesitter capture support for diff file syntax highlighting:

  • @diff.minus → red for deleted lines
  • @diff.plus → green for added lines
  • @attribute.diff → blue for hunk headers (@@ ... @@)
  • @string.special.path, @variable.parameter → Normal (minimal)

closes #22

Adds treesitter capture support for diff file syntax highlighting: - `@diff.minus` → red for deleted lines - `@diff.plus` → green for added lines - `@attribute.diff` → blue for hunk headers (`@@ ... @@`) - `@string.special.path`, `@variable.parameter` → Normal (minimal) closes #22
Sign in to join this conversation.
No description provided.