Atom - Fluentd Config File syntax highlighting
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.0 KiB

scopeName: 'source.fluentd'
name: 'Fluentd Configuration'
fileTypes: [
'fluent.conf'
]
foldingStartMarker: '<[^>]+>\\s*$'
foldingStopMarker: '^\\s*</[^>]+>'
patterns: [
{
match: "#.*"
name: "comment.line.number-sign.fluentd"
}
{
match: "(<)(\\w+)(\\s([^>]+?))?(>)"
name: "entity.tag.start.fluentd"
captures:
"1":
name: "punctuation.definition.tag.fluentd"
"2":
name: "entity.tag.fluentd"
"4":
name: "entity.other.attribute-name.fluentd"
"5":
name: "punctuation.definition.tag.fluentd"
}
{
match: "(</)(\\w+)(>)"
name: "entity.tag.end.fluentd"
captures:
"1":
name: "punctuation.definition.tag.fluentd"
"2":
name: "entity.tag.fluentd"
"3":
name: "punctuation.definition.tag.fluentd"
}
{
match: "([^\\s]+)(\\s+([^\\n]+))?"
name: "keyword.directive.generic.fluentd"
captures:
"1":
name: "keyword.directive.fluentd"
"3":
name: "string.unquoted.fluentd"
}
]