mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-23 09:32:04 +08:00
Fix lint for E103
This commit is contained in:
parent
ed1d4c0a33
commit
bca0f24dc7
@ -1,3 +1,4 @@
|
|||||||
|
" @vimlint(EVL103, 1, a:buffers)
|
||||||
function! airline#extensions#tabline#formatters#spacevim#format(bufnr, buffers) abort
|
function! airline#extensions#tabline#formatters#spacevim#format(bufnr, buffers) abort
|
||||||
let id = SpaceVim#api#messletters#get().bubble_num(a:bufnr, g:spacevim_buffer_index_type) . ' '
|
let id = SpaceVim#api#messletters#get().bubble_num(a:bufnr, g:spacevim_buffer_index_type) . ' '
|
||||||
let fn = fnamemodify(bufname(a:bufnr), ':t')
|
let fn = fnamemodify(bufname(a:bufnr), ':t')
|
||||||
@ -14,5 +15,5 @@ function! airline#extensions#tabline#formatters#spacevim#format(bufnr, buffers)
|
|||||||
else
|
else
|
||||||
return fn
|
return fn
|
||||||
endif
|
endif
|
||||||
" @vimlint(EVL105, 0, a:buffers)
|
|
||||||
endfunction
|
endfunction
|
||||||
|
" @vimlint(EVL103, 0, a:buffers)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user