mirror of
https://github.com/scopatz/nanorc
synced 2024-11-22 08:35:39 +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:]]*##.*$"
|