1st part... You can do a 'locate .vim' to find where vim hides it's syntax files. Mine are in /usr/share/vim/vim56/syntax. The files are pretty ugly, but it should be too hard to find 'float' and add 'gfloat' to that list.
I just test it, in c.vim, add gfloat to the end of line 121, so this: syn keyword cType signed unsigned float double should become: syn keyword cType signed unsigned float double gfloat and it works. > On 20010102.1221, [EMAIL PROTECTED] said ... > > Hi, > > Is it possible to get vim to have a look through your #included files > and colour the defined types? In particular, it would be nice to have > 'gfloat' coloured similar to 'float', when including glib.h > > Alternatively, should I be using :syntax match and friends? > > Regards, > Mark. > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]