commit 3313fac8ebd3fbd4d0166eea7fa94ee37bf43447
parent e52c81f5db901e0dca15a5a65ac0d6eca4efddf6
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Mon, 25 Oct 2021 10:24:17 +0200
tweaks: remove redundant pair of parentheses, and swap two alternatives
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/syntax/groff.nanorc b/syntax/groff.nanorc
@@ -1,6 +1,6 @@
## Syntax highlighting for groff.
-syntax groff "(/tmac\.[^/]+$|\.(m[ems]|rof|tmac)$)"
+syntax groff "\.(m[ems]|rof|tmac)$|/tmac\.[^/]+$"
comment ".\""
# The argument of .ds or .nr