skip to main |
skip to sidebar
Cg syntax highlighting in vim
- 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
No comments:
Post a Comment