Lightline.vim: undefined variable g:lightline

Created on 11 Feb 2016  路  2Comments  路  Source: itchyny/lightline.vim

I use neobundle and neovim. the plugin seems to be installed correctly. The statusline shows up, and the help file can be opened. But when I want to add configurations in my vimrc, it gives me error message: undefined variable g:lightine. I only added this: let g:lightline.colorscheme='solarized'. I don't know what's wrong. When I try use commands, it shows "Not an editor command: lightline#...". And when I was using vim, I had the same problem. My vim is 7.4.1147

configuration

Most helpful comment

let g:lightline = { 'colorscheme': 'solarized' }

All 2 comments

let g:lightline = { 'colorscheme': 'solarized' }

Thank you! I didn't read the readme file carefully. So I closed the issue. But I still think the informations in the help file is a little bit confusing. Hope you can just use one format so people like me won't make mistakes anymore.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kiryph picture kiryph  路  3Comments

ahmedelgabri picture ahmedelgabri  路  3Comments

kbc8090 picture kbc8090  路  3Comments

Char-Aznable picture Char-Aznable  路  4Comments

wimstefan picture wimstefan  路  5Comments