skip to main |
skip to sidebar
- Download cg.vim to
~/.vim/syntax/. (more info here. Note: the file on that page is DOS formatted; my link is to a converted version)
- Enable automatic highlighting by adding this to
~/.vimrc:
au BufNewFile,BufRead *.cg setf cg