From 593576dd48aafa89aa673f9718a5fa5fb431fd9e Mon Sep 17 00:00:00 2001 From: "Paul \"LeoNerd\" Evans" Date: Sat, 30 Sep 2023 18:06:17 +0100 Subject: [PATCH] Also highlight U<...> as @text.underline Still currently just a proposed addition to Pod; see also https://github.com/Perl/perl5/pull/21509 --- queries/highlights.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/queries/highlights.scm b/queries/highlights.scm index 8b158f2..0f5ba0c 100644 --- a/queries/highlights.scm +++ b/queries/highlights.scm @@ -30,6 +30,10 @@ (sequence_letter) @character (#eq? @character "C") (content) @text.literal) +(interior_sequence + (sequence_letter) @character + (#eq? @character "U") + (content) @text.underline) (interior_sequence (sequence_letter) @character (#eq? @character "F")