mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 06:50:05 +08:00
Fix lint
This commit is contained in:
parent
0a914e2b92
commit
602e3d05b7
@ -282,8 +282,8 @@ function! SpaceVim#layers#core#statusline#config() abort
|
|||||||
\ 'toggle the time', 1)
|
\ 'toggle the time', 1)
|
||||||
call SpaceVim#mapping#space#def('nnoremap', ['t', 'm', 'T'], 'if &laststatus == 2 | let &laststatus = 0 | else | let &laststatus = 2 | endif',
|
call SpaceVim#mapping#space#def('nnoremap', ['t', 'm', 'T'], 'if &laststatus == 2 | let &laststatus = 0 | else | let &laststatus = 2 | endif',
|
||||||
\ 'toggle the statuline itself', 1)
|
\ 'toggle the statuline itself', 1)
|
||||||
function! TagbarStatusline(a,b,c,d) abort
|
function! TagbarStatusline(...) abort
|
||||||
return s:STATUSLINE.build([s:winnr(),' Tagbar ', ' ' . a:c . ' '], [], s:lsep, s:rsep,
|
return s:STATUSLINE.build([s:winnr(),' Tagbar ', ' ' . a:3 . ' '], [], s:lsep, s:rsep,
|
||||||
\ 'SpaceVim_statusline_a', 'SpaceVim_statusline_b', 'SpaceVim_statusline_c', 'SpaceVim_statusline_z')
|
\ 'SpaceVim_statusline_a', 'SpaceVim_statusline_b', 'SpaceVim_statusline_c', 'SpaceVim_statusline_z')
|
||||||
endfunction
|
endfunction
|
||||||
let g:tagbar_status_func = 'TagbarStatusline'
|
let g:tagbar_status_func = 'TagbarStatusline'
|
||||||
|
Loading…
Reference in New Issue
Block a user