mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-17 06:17:12 +09:00
* Adds new syntax groups and docs * Large refactor of syntax highlighting files * Changed keybindings for changing tabs. * Improved the documentation. * Added F3 for find to default bindings. * Massive overhaul of the syntax files * Phase 1 color-scheme updates. * The new colorschemes. * Colorscheme and syntax updates. * Tiny fix to the cmc theme. * Another phase of colorschemes and testing gitconfig. * Fixed haskell error * Fortran fix * Delete test.txt Heh, sorry about forgetting to do this again.
27 lines
618 B
Plaintext
27 lines
618 B
Plaintext
## 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 "\<(True|False)\>"
|
|
|
|
# Anything between two single quotes
|
|
color constant.string ""(\\.|[^"])*"|'(\\.|[^'])*'"
|
|
|
|
# Matching keywords
|
|
color special "\<(grain|grains|compound|pcre|grain_pcre|list|pillar)\>"
|
|
|
|
# Comments
|
|
color comment "^#.*"
|
|
|
|
# Logic keywords
|
|
color statement "\<(if|elif|else|or|not|and|endif|end)\>"
|