This repository has been archived on 2024-06-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
coffee.pygments/tests/snippets/properties/test_comments.txt
jmzambon a38cb38e93
Fix: Issues with .properties format using whitespace delimited key (#2241)
Added:
- support for space delimitor in every case, included multiline value
- check for odd number of backslash escapes
- "!" as comment start
- support for escape of spaces and separators
Dropped:
- undocumented ";" and "//" comment start
2022-09-25 22:56:48 +02:00

12 lines
246 B
Text

# Assures lines lead by either # or ! are recognized as a comment
---input---
! a comment
# also a comment
---tokens---
'! a comment' Comment.Single
'\n' Text.Whitespace
'# also a comment' Comment.Single
'\n' Text.Whitespace