Skip to content

Commit

Permalink
refactor: adjust term highlighting to use the constructor scope
Browse files Browse the repository at this point in the history
  • Loading branch information
mmibbetson committed Jan 18, 2025
1 parent c0370c1 commit b723e2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/queries/djot/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@
(quotation_marks) @markup.quote

; INFO: `term` only matches on definition list items -- other list items won't be highlighted.
(list_item (term) @type)
(list_item (term) @constructor)

[
(ellipsis)
Expand Down

0 comments on commit b723e2c

Please sign in to comment.