Mikolaj Machowski wrote:
Dnia pon sty 1 2007, napisałeś:
remove() doesn't accept regexps only indexes. To remove offending lines
use filter()::

        call filter(alltags, "v:val !~ fname")

I've made some tests and on big tags files it can be slow. The fastest
method is::

        let alltags = system('grep -v '.fname)
        let alltags = split(alltags, '\n') " you have to end with List

m.



This won't work: you need a different variable name, see ":help E706".

Best regards,
Tony.

Reply via email to