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 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki