On 5/25/07, Ph. Marek <[EMAIL PROTECTED]> wrote:
Hello everybody!

I'd like to use a defined syntax group as a range; eg.
        {cComment}s/me/you/g
to substitute every "me" by "you" in C-comments.

I found SrchRplcHiGrp (http://www.vim.org/scripts/script.php?script_id=848)
but that does only search/replace ...

Doesn't this plugin answer your need stated above ? You said
   "I want X. I found the plugin that does exactly X, but I'm not
satisfied." ?
How one is supposed to understand such request ?

spell checking,
vim7 already has spelling in C comments. I think you only need to enable
spelling in a C file. Open file $VIMRUNTIME/syntax/c.vim and search for Spell.
You'll see which syntax regions are [selectively] spell-checked.

folding everything else away etc.

folding is line-oriented. Comments can be part of line. How do you
deal with it ?
I have small program somewhere that extracts comments from the C source, or,
on the opposite, extracts only non-comment parts.
This might help, depending on your needs.

Yakov

Reply via email to