Created
February 10, 2023 12:42
-
-
Save hfm/4ebc9ee2e2881af0af77dff568e2f36f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%YAML 1.2 | |
--- | |
name: Fluentd | |
scope: source.fluentd | |
contexts: | |
main: | |
- scope: entity.name.tag.start.fluentd | |
match: (<)(\w+)(\s([^>]+?))?(>) | |
captures: | |
1: punctuation.definition.generic.begin.fluentd | |
2: entity.name.tag.fluentd | |
4: entity.other.attribute-name.fluentd | |
5: punctuation.definition.generic.begin.fluentd | |
- scope: entity.name.tag.end.fluentd | |
match: (</)(\w+)(>) | |
captures: | |
1: punctuation.definition.generic.end.fluentd | |
2: entity.name.tag.fluentd | |
3: punctuation.definition.generic.end.fluentd | |
- match: (@\w+) ([^\n#]+) | |
captures: | |
1: keyword.other.reserved_params.fluentd | |
2: string.unquoted.fluentd | |
- match: (#).*$\n? | |
scope: comment.line.fluentd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment