significantly improved zsh* syntax highlighting (started from sh.nanorc)

This commit is contained in:
Matthew Cox 2014-08-02 23:12:13 +01:00
parent 5e347dd43c
commit a98449b466
3 changed files with 38 additions and 15 deletions

View file

@ -1,14 +0,0 @@
## 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:]]*##.*$"