SWIG syntax : Syntax file for SWIG
| script karma |
Rating 54/24,
Downloaded by 1702 |
Comments, bugs, improvements
|
Vim wiki
|
| created by |
| Roman Stanchak |
| |
| script type |
| syntax |
| |
| description |
| 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
|
| |
script versions (upload new version)
Click on the package to download.
ip used for rating: 216.73.216.107
|