Only set customized &stl if it's empty

References #118.
This commit is contained in:
Marco Hinz 2014-11-16 14:06:25 +01:00
parent d17bc302d4
commit e964a581d0
2 changed files with 4 additions and 15 deletions

View file

@ -61,7 +61,9 @@ function! startify#insane_in_the_membrane() abort
\ nolist
\ nonumber
\ noswapfile
\ statusline=\ startify
if empty(&statusline)
setlocal statusline=\ startify
endif
if v:version >= 703
setlocal norelativenumber
endif

View file

@ -511,8 +511,7 @@ FAQ *startify-faq*
|startify-faq-06| CtrlP or NERDTree open a split in Startify!
|startify-faq-07| How do I get both NERDTree and Startify working at
startup?
|startify-faq-08| Startify prevents my statusline plugin from working!
|startify-faq-09| The session autoload feature is not working!
|startify-faq-08| The session autoload feature is not working!
------------------------------------------------------------------------------
*startify-faq-01*
@ -607,18 +606,6 @@ Put this in your vimrc:
<
------------------------------------------------------------------------------
*startify-faq-08*
Startify prevents my statusline plugin from working!~
airline:
>
autocmd User Startified AirlineRefresh
<
lightline:
>
autocmd User Startified call lightline#update()
<
------------------------------------------------------------------------------
*startify-faq-09*
The session autoload feature is not working!~
Do you have NERDTree installed by any chance? If so, try this: