diff --git a/runtime/syntax/tex.yaml b/runtime/syntax/tex.yaml index 3fcdbcbc..8c62986b 100644 --- a/runtime/syntax/tex.yaml +++ b/runtime/syntax/tex.yaml @@ -23,7 +23,7 @@ rules: - statement: "\\\\%" # comments - comment: - start: "[^\\\\]%" + start: "[^\\\\]%|^%" end: "$" rules: [] - comment: