]> git.lizzy.rs Git - micro.git/blob - syntax_files/sls.micro
Proper window resize handling
[micro.git] / syntax_files / sls.micro
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 "\b(True|False)\b"
15
16 # Anything between two single quotes
17 color green ""(\\.|[^"])*"|'(\\.|[^'])*'"
18
19 # Matching keywords
20 color yellow "\b(grain|grains|compound|pcre|grain_pcre|list|pillar)\b"
21
22 # Comments
23 color brightblack "^#.*"
24
25 # Logic keywords
26 color magenta "\b(if|elif|else|or|not|and|endif|end)\b"