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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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