mirror of
https://github.com/scopatz/nanorc
synced 2024-11-27 20:35:53 +01:00
15 lines
393 B
Plaintext
15 lines
393 B
Plaintext
|
## Hightlightings for zsh configuration files (most used keywords)
|
||
|
syntax "zshrc" "\.?zshrc$"
|
||
|
|
||
|
## Keywords
|
||
|
color red "\<(autoload|prompt(init)?|zstyle|zmodload|compinit|setopt|export|source)\>"
|
||
|
color magenta "\<(alias|bindkey|function)\>"
|
||
|
|
||
|
## Strings
|
||
|
icolor white ""(\\.|[^"])*""
|
||
|
icolor white "'(\\.|[^'])*'"
|
||
|
|
||
|
## Comments
|
||
|
icolor brightblue "^[[:space:]]*#.*$"
|
||
|
icolor cyan "^[[:space:]]*##.*$"
|