On Mon, Jan 9, 2012 at 9:27 PM, Fernando Basso
<[email protected]> wrote:
> On 01/09/2012 01:56 PM, Ben Fritz wrote:
>
> On Jan 9, 6:24 am, Fernando Basso <[email protected]> wrote:
>
> I want to highlight text inside quotes, but not the quotes themselves.
>
> Highlight with syntax highlighting, or just search highlighting?
>
>
> With syntax highlighting.
You can do it with either syntax match or syntax region..

A simple example, doesn't take care of escaped quotes for instance:
:syntax match String /"[^"]*"/hs=s+1,he=e-1

-- 
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