Created
January 24, 2012 14:37
-
-
Save fixlr/1670470 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Heh. | |
set nowrap | |
set regexp | |
set tabstospaces | |
set tabsize 2 | |
set autoindent | |
unset noconvert | |
## PHP syntax coloring | |
syntax "php" "\.php[2345s~]?$" | |
color brightblue start="<\?(php)?" end="\?>" | |
color blue start="<[^\?]" end="[^\?]>" | |
color cyan "\$[a-zA-Z_0-9]*" | |
color cyan "(\[)|(\])" | |
color red "(var|class|function|echo|case|break|default|exit|switch|if|else|elseif|@|while)\s" | |
color red "=" | |
color green "[,{}()]" | |
color green "==" | |
color white "('[^']*')|(\"[^"]*\")" | |
color yellow start="<!--" end="-->" | |
color yellow start="/\*" end="\*/" | |
color yellow start="#" end="$" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment