To enable syntax highlighting for .ccg files in GNU Nano, add this snippet to your ~/.nanorc file:

# OpenCCG frontend-language syntax highlighting
syntax "OpenCCG" "\.ccg$"
color green "#.*$"
color yellow "\<(feature|family|testbed|word|def)\>"
color cyan "<[^>]+>"
color cyan "\[[^\]]*\]"
 
 
openccg/nano.txt · Last modified: 2007/04/19 11:11 by doches
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki