On Wed, 09 Jun 2010 03:53:56 +0100, Gusman <[email protected]> wrote:

I think you can try Ifdef script on
http://www.vim.org/scripts/script.php?script_id=7
Hope it's helpful.

Thanks Gusman - that looks just what I need.

I'll have to be honest and say I have no idea how to use this script(!) I don't understand enough to follow the installation instructions. Could a kind person help me out? The instructions say (slightly edited to apply to C):

- Use as a syntax plugin (source ifdef.vim from ~/vimfiles/after/syntax/c.vim)

Already I'm stumped. I haven't got a vimfiles/after/ directory, but have got $VIM/vim72/syntax/c.vim. Would I edit this one, or copy it to vimfiles/after/syntax/ and work on it from there?

[later] ... I was going to type up some more of what I'd found, but this is just too advanced for me to understand in the time I've got available. If someone uses this plugin and could easily post a couple of steps on how to use it I'd be really grateful, otherwise I'll have to drop it.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to