@@ -24,8 +24,8 @@ import Prettyprinter.Internal.Type
2424--
2525-- The suffix after @Cornelis/XXX/@ matches the names as returned by Agda, contained in 'C.hl_atoms'.
2626-- How these names are generated is not documented on Agda's side, but the implementation can be found at
27- -- ['Agda.Interaction.Highlighting.Common.toAtoms'](https://github.com/agda/agda/src/full/Agda/Interaction/Highlighting/Common.hs).
28- -- The corresponding Agda types are found in 'Agda.Interaction.Highlighting.Precise '.
27+ -- ['Agda.Interaction.Highlighting.Common.toAtoms'](https://github.com/agda/agda/blob/2ee8d18194b6f6db1f144c12cb177dbc17089d5e/ src/full/Agda/Interaction/Highlighting/Common.hs#L19 ).
28+ -- The corresponding Agda types are found in 'Agda.Syntax.Common.Aspect '.
2929--
3030-- NOTE:
3131-- * When modifying this type, remember to sync the changes to @syntax/agda.vim@
@@ -39,6 +39,8 @@ data HighlightGroup
3939 | CornelisHole -- ^ An open hole (@{! /.../ !}@ and @?@)
4040 | CornelisUnsolvedMeta -- ^ An unresolved meta variable
4141 | CornelisUnsolvedConstraint -- ^ An unresolved constraint
42+ | CornelisTerminationProblem -- ^ Failed termination check
43+ | CornelisPositivityProblem -- ^ Failed positivity check
4244 | CornelisKeyword -- ^ An Agda keywords (@where@, @let@, etc.)
4345 | CornelisSymbol -- ^ A symbol, not part of an identifier (@=@, @:@, @{@, etc.)
4446 | CornelisType -- ^ A datatype (@Nat@, @Bool@, etc.)
@@ -73,6 +75,8 @@ priority CornelisErrorWarning = 150
7375priority CornelisWarn = 150
7476priority CornelisUnsolvedMeta = 150
7577priority CornelisUnsolvedConstraint = 150
78+ priority CornelisTerminationProblem = 150
79+ priority CornelisPositivityProblem = 150
7680priority _ = 100
7781
7882atomToHlGroup :: Text -> Maybe HighlightGroup
0 commit comments