* Gautam Iyer gautam@ [070222 11:42]:
Anyways, following suggestions from this thread I made the following
modifications:
Well, I'd also suggested to split it to many different files:
syntax/c.vim
syntax/c/ansi.vim
syntax/c/susv3.vim
syntax/c/xlib.vim
...
with something like
if
Gautam Iyer wrote:
On Thu, Feb 22, 2007 at 01:47:07AM +0300, Alexey I. Froloff wrote:
I find it useful to have standard functions and constants in C
libraries highlighted. I attach syntax files for this purpose.
Check out the std_c syntax, http://www.eandem.co.uk/mrw/vim/syntax/
On Thu, Feb 22, 2007 at 03:19:24AM +0900, Kazunobu Kuriyama wrote:
snip
I attach a modified c.vim syntax file (minor changes to accommodate
the modular structure above), and glibc.vim, xlib.vim (which should
be put inside syntax/clibs/) to highlight functions and constants from
glibc
On Wed, Feb 21, 2007 at 10:07:22AM -0600, Bill McCarthy wrote:
I find it useful to have standard functions and constants in C
libraries highlighted. I attach syntax files for this purpose.
This is a nice addition that I would like to see included. I noticed
that you patched c.vim against
On 2/21/07, Gautam Iyer [EMAIL PROTECTED] wrote:
Maybe a better solution would be the following: All symbols *currently*
highlighted in c.vim (and maybe some other common ones) should be moved
to clibs/default.vim, and keywords from this file should be included
by default. Thus Vim users should
Gautam Iyer wrote:
On Thu, Feb 22, 2007 at 03:19:24AM +0900, Kazunobu Kuriyama wrote:
snip
I attach a modified c.vim syntax file (minor changes to accommodate
the modular structure above), and glibc.vim, xlib.vim (which should
be put inside syntax/clibs/) to highlight functions and constants
* Gautam Iyer gautam@ [070221 12:17]:
I find it useful to have standard functions and constants in C libraries
highlighted. I attach syntax files for this purpose.
Check out the std_c syntax,
http://www.eandem.co.uk/mrw/vim/syntax/
--
Regards,
Sir Raorn.
signature.asc
Description: Digital
On Thu, Feb 22, 2007 at 07:39:50AM +0900, Kazunobu Kuriyama wrote:
snip
I attach a modified c.vim syntax file (minor changes to
accommodate the modular structure above), and glibc.vim,
xlib.vim (which should be put inside syntax/clibs/) to
highlight functions and constants
Since projects won't have as many keywords as glibc, the only slow down
will be with the syntax file (re)generation. ctags is reasonably fast
Sorry. I haven't read your message thoroughly enough. I was talking
about what you've written in your comment.
/me hides ;)
Marc
Gautam Iyer wrote:
snip
I guess you could easily find someone around you who has a standard C
library reference. Can't you borrow one from a public library or
somewhere else, if not online...
Theres no way I'm going to type in by hand all standard C keywords. If I
can generate it easily
10 matches
Mail list logo