fixed tex comment detection at start of line (#2764)

This commit is contained in:
Therk
2023-04-20 18:21:59 -04:00
committed by GitHub
parent 61c90b27ab
commit 9cef21ecd6

View File

@@ -23,7 +23,7 @@ rules:
- statement: "\\\\%"
# comments
- comment:
start: "[^\\\\]%"
start: "[^\\\\]%|^%"
end: "$"
rules: []
- comment: