scope: punctuation.definition.comment
push: line_comment
# Numbers
- match: '\b(-)?[0-9.]+\b'
scope: constant.numeric
# Bookmarks
- match: '^!!.*|^\[\+\+\].*'
scope: bookmark
# Keywords are if, else.
# Note that blackslashes don't need to be escaped within single quoted
# strings in YAML. When using single quoted strings, only single quotes
# need to be escaped: this is done by using two single quotes next to each
# other.
- match: '\b(?:if|else|and|or|not|in)\b'
scope: keyword.python