vim-airline status bar not shown when only single file is open

I am recently start using Vim (Vim-gnome) and also use plugin vim-airline. Everything is fine but when i have only single file open, Status bar shown but not rendered correctly(not exact airline bar, no color). but if I have more then one file everything looks fine.

Any solution please?


Solution 1:

Put de following line in your .vimrc:

set laststatus=2

This helped me on the commandline :)