micro/runtime/syntax/sls.micro
Zachary Yedidia 8803d93872 Make all filetype names lowercase
This may be a breaking change if you are using a plugin that
checks the filetype. All the default plugins are now updated,
just make the filetype you were checking for previously all
lowercase.
2016-08-25 15:48:02 -04:00

27 lines
570 B
Text

## SaltStack files (*.sls)
##
syntax "salt" "\.sls$"
# Anything ending in a colon (:), including things that start with a dash (-)
color blue "^[^ -].*:$"
color blue ".*:"
# Except for salt:// URLs
color white "salt:"
# Numbers, etc
color red "/*[0-9]/*"
color red "\<(True|False)\>"
# Anything between two single quotes
color green ""(\\.|[^"])*"|'(\\.|[^'])*'"
# Matching keywords
color yellow "\<(grain|grains|compound|pcre|grain_pcre|list|pillar)\>"
# Comments
color brightblack "^#.*"
# Logic keywords
color magenta "\<(if|elif|else|or|not|and|endif|end)\>"