This is the first push to this repo with my dotfiles
[dotfilesold/.git] / .nano / sls.nanorc
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:]]+$"