From 5b869cb836e71d774824a19a16fead33a6ba9a14 Mon Sep 17 00:00:00 2001 From: Johann Mortara Date: Fri, 29 Nov 2019 12:05:54 +0100 Subject: [PATCH] Corrected tex comment start separator --- runtime/syntax/tex.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/runtime/syntax/tex.yaml b/runtime/syntax/tex.yaml index f331af1f..3fcdbcbc 100644 --- a/runtime/syntax/tex.yaml +++ b/runtime/syntax/tex.yaml @@ -20,9 +20,10 @@ rules: - special: "[&\\\\]" # macros - statement: "\\\\@?[a-zA-Z_]+" + - statement: "\\\\%" # comments - comment: - start: "%" + start: "[^\\\\]%" end: "$" rules: [] - comment: