glib.vim : syntax highlighting for additional glib types
| script karma
Downloaded by 972
Comments, bugs, improvements
script versions (upload new version)
|This syntax file, written by my friend Jason Thomas, adds to your existing C syntax file many of the extra types and so forth given to you by the excellent glib library from http://www.gtk.org/
It is believed to be complete (at least for 1.2.x), though feel free to submit patches if you find something missing.
|*** General Vim ***
- Add to your ~/.vim/syntax directory and
when you want it.
*** Utilising Vim6 ***
- add to your ~/.vim/after/syntax/ directory and rename it "c.vim".
- edit the script, comment out all the lines before the
" Now setup the glib specific stuff
comment (the ones to do with clearing out syntax items in vim5 and 6), and
also comment out the second-last line of the file (the let b:current_syntax .. line).
All that should be left is the "syn" related commands in-between.
- Load your favourite C or C++ file to get the glib highlighting automagically!
Click on the package to download.
ip used for rating: 126.96.36.199