mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 03:00:06 +08:00
Fix denite statusline
This commit is contained in:
parent
df583f020c
commit
ffb5acbdee
@ -184,10 +184,10 @@ function! SpaceVim#layers#core#statusline#get(...) abort
|
||||
return '%#SpaceVim_statusline_a#' . s:winnr() . '%#SpaceVim_statusline_a_SpaceVim_statusline_b#'
|
||||
\ . '%#SpaceVim_statusline_b# TabsManager %#SpaceVim_statusline_b_SpaceVim_statusline_c#'
|
||||
elseif &filetype ==# 'denite'
|
||||
return '%#SpaceVim_statusline_a#%{denite#get_status_mode()}%#SpaceVim_statusline_a_SpaceVim_statusline_b#'
|
||||
\ . '%#SpaceVim_statusline_b#%{denite#get_status_sources()}%#SpaceVim_statusline_b_SpaceVim_statusline_z#'
|
||||
return '%#SpaceVim_statusline_a# %{split(denite#get_status_mode())[1]} %#SpaceVim_statusline_a_SpaceVim_statusline_b# '
|
||||
\ . '%#SpaceVim_statusline_b#%{denite#get_status_sources()} %#SpaceVim_statusline_b_SpaceVim_statusline_z# '
|
||||
\ . '%#SpaceVim_statusline_z#%=%#SpaceVim_statusline_c_SpaceVim_statusline_z#'
|
||||
\ . '%#SpaceVim_statusline_c#%{denite#get_status_path() . denite#get_status_linenr()}'
|
||||
\ . '%#SpaceVim_statusline_c# %{denite#get_status_path() . denite#get_status_linenr()}'
|
||||
|
||||
endif
|
||||
if a:0 > 0
|
||||
|
Loading…
Reference in New Issue
Block a user