baverman / vial

A framework to develop plugins for Vim in python
MIT License
10 stars 1 forks source link

vim-plug Lazy-loading not supported #5

Open dhleong opened 6 years ago

dhleong commented 6 years ago

Hello, the only vial-based plugin I use is vial-http (which is pretty slick, by the way) but due to the way Vial does its init, I'm unable to lazy-load it.

I'd like to do this:

Plug 'baverman/vial-http' | Plug 'baverman/vial', {'for': 'vial-http'}

Unfortunately, it seems like vial.vim relies solely on the VimEnter autocmd to do its vial.init() call. It looks like you can use v:vim_did_enter to check if VimEnter was already triggered and then call vial.init() directly in that case.

gustavo-depaula commented 12 months ago

Hi @dhleong! Do you have a workaround for using Vial-Http with lazy loading? cc/ @baverman

dhleong commented 12 months ago

@gustavo-depaula I don't think so. I haven't used this plugin in quite some time.