zaiste / vimified

Yet another Vim configuration
http://zaiste.github.com/vimified/
686 stars 130 forks source link

Cannot enable fancy Powerline symbols for Airline #82

Closed devinus closed 10 years ago

devinus commented 11 years ago

Airline has an option to use fancy Powerline symbols using this configuration option:

let g:airline_powerline_fonts = 1

However, vimified uses these three lines:

https://github.com/zaiste/vimified/blob/master/vimrc#L106-L108

Which doesn't allow you to use the symbols:

https://github.com/bling/vim-airline/blob/master/autoload/airline/init.vim#L14

AdrienGiboire commented 11 years ago

Hm…

I'd say that you can override those 3 lines in your ~/.vim/after.vimrc.

Let me know if it fits your need.

devinus commented 11 years ago

@AdrienGiboire Negative. Airline requires let g:airline_powerline_fonts = 1 before it is loaded, however those 3 lines will overwrite it once the vimrc is loaded.

devinus commented 11 years ago

My recommendation is to check if those values are already set before setting them, like Airline does.

AdrienGiboire commented 11 years ago

Seems a good recommendation :) I'll take care of it as soon as I can. If you have a bit of time before me, you can make a PR if you want.

AdrienGiboire commented 10 years ago

Should be okay with https://github.com/zaiste/vimified/pull/91