sponsor Vim development Vim logo Vim Book Ad

SWIG syntax : Syntax file for SWIG

 script karma  Rating 49/22, Downloaded by 1230    Comments, bugs, improvements  Vim wiki

created by
Roman Stanchak
script type
This is a syntax file for SWIG (Simplified Wrapper Interface Generator) description files.  The default syntax for .i files highlights comments in a reverse color scheme which is really horrible.  This syntax builds on vim's c++ syntax by adding highlighting for common swig directives and user defined directives.  For an alternative syntax, see  vimscript #1247 (which I found after writing this).  
install details
copy the script to ~/.vim/syntax/ and add the following to your vimrc:
au BufNewFile,BufRead *.i set filetype=swig
au BufNewFile,BufRead *.swg set filetype=swig

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
swig.vim 0.0.1 2006-07-25 6.0 Roman Stanchak Initial upload
ip used for rating:

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.
SourceForge.net Logo