clibs.vim : Syntax highlighting for C library functions and constants
| script karma
Downloaded by 880
Comments, bugs, improvements
script versions (upload new version)
|This is a fork of the default c.vim syntax file that provides highlighting of C library functions and constants.
The patch to c.vim is very minor (just add one container class for library functions / constants), so your usual syntax highlighting in C will be preserved.
It contains options that let you control how much, and which libraries you want highlighted.
Currently, the only libraries supported are "glibc" and "xlib". But it comes with instructions on how to add your own (project specific, or other) libraries. Feel free to add support for other standard libraries and send them to me :).
|To install script and help files
cd ~/.vim && tar -xjvf /tmp/clibs.vim && vim +":helptags doc/" +:q
let c_hi_identifiers = 'all'
let c_hi_libs = ['*']
in ~/.vimrc. For complete help do
Click on the package to download.
ip used for rating: 18.104.22.168