Created
February 4, 2018 10:31
-
-
Save ladyisak/8910aaed99ba67c6689c0928b3e568ab 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: Ink | |
file_extensions: | |
- ink | |
- ink2 | |
scope: source.ink | |
contexts: | |
main: | |
- include: mixed_content | |
mixed_content: | |
- include: inline_conditional | |
inline_conditional: | |
- match: '(\{)([^.*:\|\}]+:)' | |
captures: | |
1: keyword.operator.bracket | |
2: keyword.label.condition | |
push: | |
- meta_scope: meta.logic.inline | |
- match: '(\})' | |
captures: | |
1: keyword.operator.bracket | |
pop: true | |
- match: \| | |
scope: keyword.operator.separator | |
binary_logic: | |
- match: '\&&|\|\||\?|\!\?' | |
scope: keyword.operator.logic |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment