mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 02:10:05 +08:00
Update statusline for VebuggerShell && VebuggerTerminal
This commit is contained in:
parent
6f766a3eeb
commit
5fa340dd79
@ -430,7 +430,17 @@ let g:spacevim_enable_vimfiler_gitstatus = 0
|
|||||||
" Enable/Disable filetypeicon column in vimfiler buffer, default is 0.
|
" Enable/Disable filetypeicon column in vimfiler buffer, default is 0.
|
||||||
let g:spacevim_enable_vimfiler_filetypeicon = 0
|
let g:spacevim_enable_vimfiler_filetypeicon = 0
|
||||||
let g:spacevim_smartcloseignorewin = ['__Tagbar__' , 'vimfiler:default']
|
let g:spacevim_smartcloseignorewin = ['__Tagbar__' , 'vimfiler:default']
|
||||||
let g:spacevim_smartcloseignoreft = ['help', 'tagbar', 'vimfiler', 'SpaceVimRunner', 'SpaceVimREPL', 'SpaceVimQuickFix', 'HelpDescribe']
|
let g:spacevim_smartcloseignoreft = [
|
||||||
|
\ 'help',
|
||||||
|
\ 'tagbar',
|
||||||
|
\ 'vimfiler',
|
||||||
|
\ 'SpaceVimRunner',
|
||||||
|
\ 'SpaceVimREPL',
|
||||||
|
\ 'SpaceVimQuickFix',
|
||||||
|
\ 'HelpDescribe',
|
||||||
|
\ 'VebuggerShell',
|
||||||
|
\ 'VebuggerTerminal',
|
||||||
|
\ ]
|
||||||
let g:spacevim_altmoveignoreft = ['Tagbar' , 'vimfiler']
|
let g:spacevim_altmoveignoreft = ['Tagbar' , 'vimfiler']
|
||||||
let g:spacevim_enable_javacomplete2_py = 0
|
let g:spacevim_enable_javacomplete2_py = 0
|
||||||
let g:spacevim_src_root = 'E:\sources\'
|
let g:spacevim_src_root = 'E:\sources\'
|
||||||
|
@ -357,6 +357,12 @@ function! SpaceVim#layers#core#statusline#get(...) abort
|
|||||||
return '%#SpaceVim_statusline_a# VimMail %#SpaceVim_statusline_a_SpaceVim_statusline_b# %{mail#client#win#status().dir}'
|
return '%#SpaceVim_statusline_a# VimMail %#SpaceVim_statusline_a_SpaceVim_statusline_b# %{mail#client#win#status().dir}'
|
||||||
elseif &filetype ==# 'SpaceVimQuickFix'
|
elseif &filetype ==# 'SpaceVimQuickFix'
|
||||||
return '%#SpaceVim_statusline_a# SpaceVimQuickFix %#SpaceVim_statusline_a_SpaceVim_statusline_b#'
|
return '%#SpaceVim_statusline_a# SpaceVimQuickFix %#SpaceVim_statusline_a_SpaceVim_statusline_b#'
|
||||||
|
elseif &filetype ==# 'VebuggerShell'
|
||||||
|
return '%#SpaceVim_statusline_ia#' . s:winnr(1) . '%#SpaceVim_statusline_ia_SpaceVim_statusline_b#' . s:lsep
|
||||||
|
\ . '%#SpaceVim_statusline_b# VebuggerShell %#SpaceVim_statusline_b_SpaceVim_statusline_c#' . s:lsep
|
||||||
|
elseif &filetype ==# 'VebuggerTerminal'
|
||||||
|
return '%#SpaceVim_statusline_ia#' . s:winnr(1) . '%#SpaceVim_statusline_ia_SpaceVim_statusline_b#' . s:lsep
|
||||||
|
\ . '%#SpaceVim_statusline_b# VebuggerTerminal %#SpaceVim_statusline_b_SpaceVim_statusline_c#' . s:lsep
|
||||||
endif
|
endif
|
||||||
if a:0 > 0
|
if a:0 > 0
|
||||||
return s:active()
|
return s:active()
|
||||||
|
Loading…
Reference in New Issue
Block a user