chrisbra/NrrwRgn

Warnings when using 'Plug' to load NrrwRgn on deman with airline

Closed this issue · 1 comments

I am using Plug to do my plugin loading/management.
https://github.com/junegunn/vim-plug

It has a on demand capability.
So for example for NrrwRgn I have:
Plug 'chrisbra/NrrwRgn', {'on': ['NR', 'NW', 'NRV', 'NW', 'NarrowRegion']}

which means to load this plugin when I use NR or NW and so on.

The problem is I am also using airline:
Plug 'vim-airline/vim-airline'

When I have these NrrrwRgn loading on demand and airline together then I have the following warning:

Error detected while processing function 51_on_window_changed[22]..51_init[6]..airline#extensions#load:
line 240:
E117: Unknown function: airline#extensions#nrrwrgn#init

I am not sure if the problem is with airline or NrrwRgn... Any idea?

Thank you!

Obsolete after recent merge of pull request in vim-airline.