From 19eaed62b0146f5e9f3040c459cff9f0aeca948e Mon Sep 17 00:00:00 2001 From: tarneo Date: Fri, 17 Nov 2023 19:36:42 +0100 Subject: [PATCH] fix(dns): highlight domain names as NameClass This commit fixes #885. Before this commit, only the first part (before the first dot) of a domain name was highlighted as NameClass``, which made the rest highlight in `err` (red). This commit makes domain names anywhere in the line highlight as NameClass, still allowing @ at the start of a line to be highlighted just as before. --- lexers/embedded/dns.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lexers/embedded/dns.xml b/lexers/embedded/dns.xml index 5ac3c2585..ef8f663f9 100644 --- a/lexers/embedded/dns.xml +++ b/lexers/embedded/dns.xml @@ -27,7 +27,7 @@ - +