Skip to content

Commit 6d7b3ef

Browse files
author
Markus Armbruster
committed
docs/sphinx/qmp_lexer: Highlight elisions like comments, not prompts
Signed-off-by: Markus Armbruster <[email protected]> Message-ID: <[email protected]> Reviewed-by: Eric Blake <[email protected]>
1 parent bc361f2 commit 6d7b3ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/sphinx/qmp_lexer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class QMPExampleMarkersLexer(RegexLexer):
2424
'root': [
2525
(r'-> ', token.Generic.Prompt),
2626
(r'<- ', token.Generic.Prompt),
27-
(r'\.{3}( .* \.{3})?', token.Generic.Prompt),
27+
(r'\.{3}( .* \.{3})?', token.Comment.Multiline),
2828
]
2929
}
3030

0 commit comments

Comments
 (0)