mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 20:00:05 +08:00
feat(statusline): change statusline for python doc win
This commit is contained in:
parent
459d676373
commit
76a8fd42cc
@ -450,6 +450,8 @@ function! SpaceVim#layers#core#statusline#get(...) abort
|
|||||||
\ . '%#SpaceVim_statusline_b# %{fuzzy#statusline()} %#SpaceVim_statusline_b_SpaceVim_statusline_c#' . s:lsep
|
\ . '%#SpaceVim_statusline_b# %{fuzzy#statusline()} %#SpaceVim_statusline_b_SpaceVim_statusline_c#' . s:lsep
|
||||||
elseif &filetype ==# 'SpaceVimFindArgv'
|
elseif &filetype ==# 'SpaceVimFindArgv'
|
||||||
return '%#SpaceVim_statusline_a_bold# Find %#SpaceVim_statusline_a_SpaceVim_statusline_b#' . s:lsep
|
return '%#SpaceVim_statusline_a_bold# Find %#SpaceVim_statusline_a_SpaceVim_statusline_b#' . s:lsep
|
||||||
|
elseif &filetype ==# 'rst' && bufname('%') == '__doc__'
|
||||||
|
return '%#SpaceVim_statusline_a_bold# Python Doc %#SpaceVim_statusline_a_SpaceVim_statusline_b#' . s:lsep
|
||||||
elseif &filetype ==# 'gista-list'
|
elseif &filetype ==# 'gista-list'
|
||||||
return '%#SpaceVim_statusline_ia#'
|
return '%#SpaceVim_statusline_ia#'
|
||||||
\ . s:winnr(1) . '%#SpaceVim_statusline_ia_SpaceVim_statusline_b#'
|
\ . s:winnr(1) . '%#SpaceVim_statusline_ia_SpaceVim_statusline_b#'
|
||||||
|
Loading…
Reference in New Issue
Block a user