mirror of
https://github.com/vim-airline/vim-airline.git
synced 2024-11-29 12:16:01 +08:00
Fix typo in doc/airline.txt
Add tag for vim-airline
This commit is contained in:
parent
e7e4769dc1
commit
9a95964256
|
@ -1,5 +1,5 @@
|
||||||
*airline.txt* Lean and mean status/tabline that's light as air
|
*airline.txt* Lean and mean status/tabline that's light as air
|
||||||
*airline*
|
*airline* *vim-airline*
|
||||||
_ _ _ _ ~
|
_ _ _ _ ~
|
||||||
__ _(_)_ __ ___ __ _(_)_ __| (_)_ __ ___ ~
|
__ _(_)_ __ ___ __ _(_)_ __| (_)_ __ ___ ~
|
||||||
\ \ / / | '_ ` _ \ _____ / _` | | '__| | | '_ \ / _ \ ~
|
\ \ / / | '_ ` _ \ _____ / _` | | '__| | | '_ \ / _ \ ~
|
||||||
|
@ -636,7 +636,7 @@ with the middle mouse button to delete that buffer.
|
||||||
|
|
||||||
" here is how you can define a 'foo' formatter:
|
" here is how you can define a 'foo' formatter:
|
||||||
" create a file in the dir autoload/airline/extensions/tabline/formatters/
|
" create a file in the dir autoload/airline/extensions/tabline/formatters/
|
||||||
" called foo.vim
|
" called foo.vim >
|
||||||
function! airline#extensions#tabline#formatters#foo#format(bufnr, buffers)
|
function! airline#extensions#tabline#formatters#foo#format(bufnr, buffers)
|
||||||
return fnamemodify(bufname(a:bufnr), ':t')
|
return fnamemodify(bufname(a:bufnr), ':t')
|
||||||
endfunction
|
endfunction
|
||||||
|
|
Loading…
Reference in New Issue
Block a user