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 "\[[^\]]*\]"