Hi David!

On Do, 25 Feb 2016, David Fishburn wrote:

> On Wed, Feb 24, 2016 at 3:13 PM, Christian Brabandt <[email protected]> wrote:
> 
>     Hi,
>     attached patch, enables skip expressions similar to what searchpairpos()
>     already does for search() and searchpos() functions. Patch includes
>     updated documentation and an updated test.
> 
>     I think this is useful, so you can search for e.g. "pattern" only in
>     syntax group "Comment" or the other way around. Currently there is no
>     way to do that, other than making a loop and manually checking each
>     match.
> 
> 
> 
> I had to write a plugin to do this which goes a word at a time and checks the
> synID, so this would be useful. 

Yeah, I want to use it for vim-airline. looping over search() calls 
while evaluating the statusline will most probably result in nasty lags, 
so I really need this.

Best,
Christian
-- 
Den Timon fragte jemand wegen des Unterrichts seiner Kinder. 
Lasst sie, sagte der, unterrichten in dem, was sie niemals begreifen 
werden.
                -- Goethe, Maximen und Reflektionen, Nr. 380

-- 
-- 
You received this message from the "vim_dev" 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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui