• Chris Allegretta's avatar
    New syntax highlighting from Mike F. Credits: · deb34f27
    Chris Allegretta authored
    awk.nanorc by Donnie Berkholz <dberkholz@gentoo.org>
    css.nanorc by Simon Rupf <simon.rupf@int-ag.ch>
    xml.nanorc by Josef 'Jupp' Schugt <jupp@rubyforge.org>
    
    Slight tweak by chrisa on the CSS file to make the brightwhite section end on line boundary due to matching too greedily on valid CSS
    (see digg's css/111/global.css as an example)
    
    
    
    git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4254 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
    deb34f27
css.nanorc 331 Bytes
## Here is an example for css files.
##
syntax "css" "\.css$"
color brightred     "."
color brightyellow  start="\{" end="\}"
color brightwhite   start=":" end="([;^\{]|$)"
color brightblue    ":active|:focus|:hover|:link|:visited|:link|:after|:before|$"
color brightblue    start="\/\*" end="\\*/"
color green         ";|:|\{|\}"