Skip to content

Commit

Permalink
feat(highlights): add INVARIANT to error tag (#12094)
Browse files Browse the repository at this point in the history
  • Loading branch information
RoloEdits authored Nov 20, 2024
1 parent 48e15f7 commit b6e555a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/queries/comment/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@

; Error level tags
((tag (name) @error)
(#match? @error "^(BUG|FIXME|ISSUE|XXX|FIX|SAFETY|FIXIT|FAILED|DEBUG)$"))
(#match? @error "^(BUG|FIXME|ISSUE|XXX|FIX|SAFETY|FIXIT|FAILED|DEBUG|INVARIANT)$"))

("text" @error
(#match? @error "^(BUG|FIXME|ISSUE|XXX|FIX|SAFETY|FIXIT|FAILED|DEBUG)$"))
(#match? @error "^(BUG|FIXME|ISSUE|XXX|FIX|SAFETY|FIXIT|FAILED|DEBUG|INVARIANT)$"))

(tag
(name) @ui.text
Expand Down

0 comments on commit b6e555a

Please sign in to comment.