On Fri, Jul 17, 2009 at 9:33 AM, Ben Fritz<[email protected]> wrote:
...
>> can you write a pattern to replaced foo to bar in code, but not in
>> string and comment? that's useful, but Vim pattern doesn't support
>> that :-( maybe makes user can get current syntax state easily is
>> better.

I wonder if my plugin:

SrchRplcHiGrp.vim : Search and/or replace based on a syntax highlight
group http://www.vim.org/scripts/script.php?script_id=848

Could be used in this case.
If not, I would be willing to look into how it doesn't meet your needs
and make some changes.

I think it should do what you want though.

Dave

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to