mirror of
https://github.com/scopatz/nanorc
synced 2024-12-25 14:54:51 +01:00
commit
c227d4d2bd
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…
Reference in New Issue
Block a user