From 427f01b922121c97dea08e7577dd9121af033345 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Tue, 29 Aug 2023 20:50:52 +0300 Subject: [styles/syntax-highlighting] Fixed submatches in comments for real --- src/styles.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/styles.css') diff --git a/src/styles.css b/src/styles.css index bed8e60..9f2f878 100644 --- a/src/styles.css +++ b/src/styles.css @@ -494,7 +494,6 @@ dt, dd { /* Syntax highlighting */ .HI-comment { color: var(--hi-comment); } -.HI-comment * { color: inherit; } /* If text inside a comment is matched, don't show it */ .HI-const { color: var(--hi-const); } .HI-string { color: var(--hi-string); } .HI-char { color: var(--hi-char); } @@ -514,3 +513,4 @@ dt, dd { .HI-structure { color: var(--hi-structure); } .HI-typedef { color: var(--hi-typedef); } .HI-ignore { color: var(--hi-ignore); } +.HI-comment * { color: inherit; } /* If text inside a comment is matched, don't show it */ -- cgit v1.3.1-26-gb76a