-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Airline theme colors go out of sync after using CoC in neovim #5
Comments
That is very weird behavior. I will have to look into this and do my best to fix. I am not an airline user though so I might have to request that you help me come to a resolution on this. |
@skbolton strange indeed, is there a theme you based yours on that I could test to see if I get the same behaviour? |
@unknowledgeable I basically pulled the challenger deep theme airline theme into the code base and adjusted the palette to match embark |
@skbolton I tested the challanger deep theme and it seems to work fine, odd. Had a quick scan through a diff of embark and challenger_deep but couldn't find anything obvious, but was pretty hard to see any out of place punctuation in the diff! Might be worthwhile going through the process of replacing colours in airline's default "dark" theme instead, just for the sake of completeness and compatibility? |
Yeah I think that's a good idea. Also I wouldn't mind keeping all the comments and everything in that example. I think it will help me and anyone else out later down the road to make fixes and contributions. |
Update on this, I had a mess around with the default theme by replacing the colours with the closest matches from embark.vim and the result wasn't great: I much prefer the original embark one, when it works! I'm not sure how you want to proceed with it but there are quite a few aesthetic decisions for you to make to get it looking good. |
No sync issues when you did that though? |
Nope all working fine as far as I can tell! |
Okay I will try and make time in the next few weeks to use the template like you did above but get the colors to align with what I have in the current theme. |
So in my rewrite I've got it looking like this so far and thankfully it's no longer bugging out: What I've done:
Any thoughts or opinions? |
Closing as stale. Reopen if issue persists. |
I'm getting some strange behaviour with this airline theme where it doesn't seem to refresh the colours correctly after inserting an emmet abbreviation using CoC. I'm using the example vim config found here
Expected:
Current behaviour:
It seems to go back in sync to the expected behaviour if I take focus away from my terminal window and click on it again or use
:AirlineRefresh
I'm not getting this problem using any other vim-airline Theme (I'm definitely using a powerline patched font, etc)
I've tried setting the theme manually with
let g:airline_theme='embark'
but the problem persistsSteps to reproduce with Coc, emmet-vim and coc-emmet installed:
Any thoughts?
vim version: NVIM v0.4.3
coc.nvim version: 0.0.78-0ff42027ff
term: iTerm.app
platform: darwin
all plugins up to date according to Plug
PS: Loving the theme btw! Thanks for putting out there!
The text was updated successfully, but these errors were encountered: