mirror of
https://github.com/scopatz/nanorc.git
synced 2024-10-18 02:06:40 -07:00
commit
c227d4d2bd
1 changed files with 14 additions and 0 deletions
14
zshrc.nanorc
Normal file
14
zshrc.nanorc
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
## 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:]]*##.*$"
|
||||
Loading…
Add table
Add a link
Reference in a new issue