comparison nanorc.d/sls.nanorc @ 84:b989099cde9f

Start to update Nano colourisation Defaults are REALLY basic
author IBBoard <dev@ibboard.co.uk>
date Sat, 31 Mar 2018 21:06:21 +0100
parents
children
comparison
equal deleted inserted replaced
83:966d8f8f89d0 84:b989099cde9f
1 ## SaltStack files (*.sls)
2 ##
3
4 syntax "Salt" "\.sls$"
5
6 # Anything ending in a colon (:), including things that start with a dash (-)
7 color blue "^[^ -].*:$"
8 color blue ".*:"
9 # Except for salt:// URLs
10 color white "salt:"
11
12 # Numbers, etc
13 color red "/*[0-9]/*"
14 color red "\<(True|False)\>"
15
16 # Anything between two single quotes
17 color green ""(\\.|[^"])*"|'(\\.|[^'])*'"
18
19 # Matching keywords
20 color yellow "\<(grain|grains|compound|pcre|grain_pcre|list|pillar)\>"
21
22 # Comments
23 color brightblack "^#.*"
24
25 # Logic keywords
26 color magenta "\<(if|elif|else|or|not|and|endif|end)\>"
27
28 ## Trailing spaces
29 color ,green "[[:space:]]+$"