sponsor Vim development Vim logo Vim Book Ad

cg.vim : Syntax for Cg and FX hardware-shading language files

 script karma  Rating 75/27, Downloaded by 1881  Comments, bugs, improvements  Vim wiki

created by
Kevin Bjorke
 
script type
syntax
 
description
Syntax and keyword highlighting for the Cg shader-programming language, used in game programming and plugins for 3dsMax, Maya, etc.

This file is appropriate for .cg and .fx files.

Details, see http://www.cgshaders.org/ or http://developer.nvidia.com/

Can also be used for Microsoft HLSL files.

Kevin Bjorke
mailto:kbjorke@nvidia.com
 
install details
Install normally: add cg.vim to $VIMRUNTIME/syntax then add rules for .cg and .fx files to $VIMRUNTIME/filetype.vim -- gvim users should also add a Cg item to $VIMRUNTIME/menu.vim
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
cg.vim 1 2003-03-12 6.0 Kevin Bjorke Initial upload
ip used for rating: 18.227.190.93

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github