Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug#497663: Tab completion for vim is broken



On Sep 4,  2:06pm, Frank Terbeck wrote:
}
} But I don't understand, why this is not enough:
} 
} +emulate -L zsh
} +

The reason is that the eumulate doesn't take effect until the function
is executed, whereas the quoting error is returned at the time the
function is parsed.  "emulate" does not work like a perl "use" pragma.

Even PWS's _comp_setup change won't do any good if _vim somehow gets
autoloaded before _main_complete begins executing.  Unlikely, but ...



Messages sorted by: Reverse Date, Date, Thread, Author