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/examplefiles/ini/test.ini.output
jmzambon b58e855e41
Fix syntax highlighting of INI language (#2217)
Make it parse comments that are not their own line.

Co-authored-by: Jean Abou-Samra <jean@abou-samra.fr>
2022-09-15 19:22:09 +02:00

60 lines
1.5 KiB
Text
Generated

'[section1]' Keyword
'\n\n' Text.Whitespace
'foo' Name.Attribute
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'bar' Literal.String
' ' Text.Whitespace
'; inline comment' Comment.Single
'\n' Text.Whitespace
'continued' Name.Attribute
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'foo' Literal.String
' ' Text.Whitespace
'# inline comment with \\' Comment.Single
'\n ' Text.Whitespace
'# line continuation' Comment.Single
'\n ' Text.Whitespace
'baz' Name.Attribute
'\n' Text.Whitespace
'conttwo' Name.Attribute
' ' Text.Whitespace
'=' Operator
'\n ' Text.Whitespace
'foo' Name.Attribute
'\n' Text.Whitespace
'; comment' Comment.Single
'\n' Text.Whitespace
'# comment' Comment.Single
'\n\n' Text.Whitespace
'[section2]' Keyword
'\n\n' Text.Whitespace
'my_array' Name.Attribute
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
"Asia, Africa, 'North America', South America, " Literal.String
'\\' Text
'\n ' Text.Whitespace
'Antarctica, Europe, Australia' Literal.String
'\n\n' Text.Whitespace
'implicit_boolean' Name.Attribute
'\n' Text.Whitespace
'foo' Name.Attribute
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'bar' Literal.String
'\n' Text.Whitespace