d949b58fc0
* Added title setting (Requires tcell pull!) and optimized tab display. * Added Clojure highlighting. * Changed tcell call to screen. * Fixed bad reference for getting Buffer name. * Yet another massive syntax overhaul * Tweaking and testing web syntax * More webdev goodies * Added html5 highlighting and strict html4 highlighting. * Documentation update
28 lines
624 B
Text
28 lines
624 B
Text
## SaltStack files (*.sls)
|
|
##
|
|
|
|
syntax "salt" "\.sls$"
|
|
|
|
# Anything ending in a colon (:), including things that start with a dash (-)
|
|
color identifier.var "^[^ -].*:$"
|
|
color identifier.var ".*:"
|
|
# Except for salt:// URLs
|
|
color default "salt:"
|
|
|
|
# Numbers, etc
|
|
color constant.number "/*[0-9]/*"
|
|
color constant.bool "\b(True|False)\b"
|
|
|
|
# Anything between two single quotes
|
|
color constant.string ""(\\.|[^"])*"|'(\\.|[^'])*'"
|
|
|
|
# Matching keywords
|
|
color special "\b(grain|grains|compound|pcre|grain_pcre|list|pillar)\b"
|
|
|
|
# Comments
|
|
color comment "^#.*"
|
|
|
|
# Logic keywords
|
|
color statement "\b(if|elif|else|or|not|and|endif|end)\b"
|
|
|