Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

problem with lightline #5

Open
pasau opened this issue Mar 8, 2018 · 7 comments
Open

problem with lightline #5

pasau opened this issue Mar 8, 2018 · 7 comments

Comments

@pasau
Copy link

pasau commented Mar 8, 2018

Hi, i have trouble using the wal.vim lightline colorscheme

i add this in my .vimrc:

let g:lightline = {
			\ 'colorscheme': 'wal',
			\ }

and i get the following error:

Error detected while processing function lightline#update[3]..lightline#colorscheme[18]..lightline#highlight:
line   18:
E254: Cannot allocate color guibg=
Error detected while processing function lightline#update:
line    3:
E171: Missing :endif

If i change the content of wal.vim/autoload/lightline/colorscheme/wal.vim to the content of another random lightline colorscheme and replacing the word "wal" to the name of the other file, i don't get any problem

@arjunramaswami
Copy link

Same here. I'm trying to look into the code to figure this out. Check the lightline#highlight function in the file lightline.vim. There are these guibg, which I reckon are background gui something. Let me know if you have any leads. Will look into this further later.

@dylanaraps
Copy link
Owner

I can't reproduce this, the lightline theme works fine for me. Can you guys send me your vimrc files?

@arjunramaswami
Copy link

Here, I changed the lightline's colorscheme to wal.

@kingkobra87
Copy link

I realize this is an old issue, but I also couldn't reproduce the problem. However, I have forked this project on Gitlab, where I completely overhauled the Lightline theme. It's much different than than @dylanaraps version here, but you might like it. Get it here. Hopefully this one doesn't error out for you.

@sieken
Copy link

sieken commented Jul 14, 2018

This seems to be related. I had the same issue, but replacing the empty color strings with hex color values fixes the problem.

Not sure what to put there instead of all black though.
scrot

@electricsoldier
Copy link

Hi there, I was having the same issue as above on a new arch install. Wal.vim is working for vim's colorscheme, but not lightline (same errors as described above). Changing the values as 'sieken' did in the post before me did fix this though. Just thought I'd add this to the discussion. Happy to send any dotfiles if needed to troubleshoot. Aside from that, thanks for your awesome color scheming apps!

@kyokeunpark
Copy link

I made a small tweak to the lightline wal theme here for those who are still struggling with it. It essentially just inherits the colors from the colorscheme.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants