hx/prr: prr syntax highlighting

This commit is contained in:
Matthew Ryan Dillon 2025-12-08 16:12:17 -05:00
parent 2d62517a51
commit 9b40fe5b92
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,25 @@
; PRR syntax highlighting for Helix
; Diff additions and deletions
(addition) @diff.plus
(deletion) @diff.minus
; File headers
(old_file) @diff.minus
(new_file) @diff.plus
; Diff metadata
(diff_header) @keyword
(index_line) @comment
(chunk_header) @attribute
; Context lines (unchanged diff lines)
(context_line) @comment
; PRR tag components
(tag_name) @keyword
(action) @string
(tag_content) @comment
; User comments
(comment_line) @comment