Latest update as of 4/6/16 is broken
I just ran PlguinUpdate to update lightline, and now it doesn't work. At vim load time, I see this:
Error detected while processing function lightline#update..lightline#statusline..<SNR>29_line..<SNR>29_expand:
line 5:
E121: Undefined variable: v:key
E116: Invalid arguments for function map(v:val, "s:convert(v:val, string(" . v:key . "))")
Error detected while processing function lightline#update..lightline#statusline..<SNR>29_line..<SNR>29_expand..<SNR>29_flatten_twice:
line 4:
E734: Wrong variable type for +=
Error detected while processing function lightline#update..lightline#statusline..<SNR>29_line:
line 10:
E714: List required
Error detected while processing function lightline#update_once..lightline#update..lightline#statusline..<SNR>29_line..<SNR>29_expand:
line 5:
E121: Undefined variable: v:key
Error detected while processing function lightline#update_once..lightline#update..lightline#statusline..<SNR>29_line..<SNR>29_expand:
line 5:
E116: Invalid arguments for function map(v:val, "s:convert(v:val, string(" . v:key . "))")
Error detected while processing function lightline#update_once..lightline#update..lightline#statusline..<SNR>29_line..<SNR>29_expand..<SNR>29_flatten_twice:
line 4:
E734: Wrong variable type for +=
Error detected while processing function lightline#update_once..lightline#update..lightline#statusline..<SNR>29_line:
line 10:
E714: List required
Please fix.
same for me :'(
Do you know how to revert back to the last working version (if there's a way to know what that was)
You can download an older version of the autoload/lightline.vim and change it inside your .vim/ directory I downloaded a february version and works.
Cool, thanks!
What's your Vim's version? If you use 7.2.*, that's too old.
I mentioned my vim version in my original post. yes it is 7.2.* I have no other option because this is a workplace machine and I don't control what's installed.
Are you saying that lightline.vim (as of today) officially does not support 7.2? Then can you please update the README to reflect that? Thanks for confirming. You can also close this ticket if you don't plan to fix it for 7.2.*
I have the same version here. Im working in an external server so I can't update. Yes! Please update the README. El 6 abr. 2016 22:02, "Shikhanshu Agarwal" [email protected] escribió:
I mentioned my vim version in my original post. yes it is 7.2.* I have no other option because this is a workplace machine and I don't control what's installed.
Are you saying that lightline.vim (as of today) officially does not support 7.2? Then can you please update the README to reflect that? Thanks for confirming. You can also close this ticket if you don't plan to fix it for 7.2.*
— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/itchyny/lightline.vim/issues/156#issuecomment-206640087
Thank you for your issue report. I decided to support old Vim. Please confirm the latest version.
Still get errors:
Error detected while processing function lightline#update..lightline#statusline..<SNR>29_line..<SNR>29_expand..<SNR>29_map:
line 3:
E121: Undefined variable: i:i
E116: Invalid arguments for function map(a:xs[i:i], substitute(a:f, 'v:key', i, 'g')))
E116: Invalid arguments for function extend
Error detected while processing function lightline#update..lightline#statusline..<SNR>29_line..<SNR>29_expand..<SNR>29_flatten_twice:
line 2:
E714: List required
Error detected while processing function lightline#update..lightline#statusline..<SNR>29_line:
line 10:
E714: List required
Error detected while processing function lightline#update_once..lightline#update..lightline#statusline..<SNR>29_line..<SNR>29_expand..<SNR>29_map:
line 3:
E121: Undefined variable: i:i
Error detected while processing function lightline#update_once..lightline#update..lightline#statusline..<SNR>29_line..<SNR>29_expand..<SNR>29_map:
line 3:
E116: Invalid arguments for function map(a:xs[i:i], substitute(a:f, 'v:key', i, 'g')))
Error detected while processing function lightline#update_once..lightline#update..lightline#statusline..<SNR>29_line..<SNR>29_expand..<SNR>29_map:
line 3:
E116: Invalid arguments for function extend
Error detected while processing function lightline#update_once..lightline#update..lightline#statusline..<SNR>29_line..<SNR>29_expand..<SNR>29_flatten_twice:
line 2:
E714: List required
Error detected while processing function lightline#update_once..lightline#update..lightline#statusline..<SNR>29_line:
line 10:
E714: List required
I fixed again, sorry.
Works now. Thanks a lot for fixing and keeping support for 7.2.*
Thanks, Shikhanshu
On Thu, Apr 7, 2016 at 9:54 PM, itchyny [email protected] wrote:
I fixed again, sorry.
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/itchyny/lightline.vim/issues/156#issuecomment-207214989
Hi, I'm using vim 7.4 from ubuntu 16.04 and gets to the same error. I searched through the commit history and the latest working commit for me is 757fa3daf3a7932dcd6bf7d1859276a3b8d9001c
The error occurs in the latest version of lightline?
Yes, I'm using it with vundle so I think it's the latest
I tried with a cleaner setup with only lightline plugin in vundle config and it works.
I'll figure out which of other plugins is causing this.
With Vundle you have to do ":PluginUpdate" to obtain new versions El 10 jun. 2016 3:03 PM, "lmr3796" [email protected] escribió:
I tried with a cleaner setup with only lightline plugin in vundle config and it works.
I'll figure out which of other plugins is causing this.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/itchyny/lightline.vim/issues/156#issuecomment-225268686, or mute the thread https://github.com/notifications/unsubscribe/ACIlks1pK5SNicS8VdA2DIp7fcupkD4tks5qKbUZgaJpZM4IBgOq .