Fix typo in doc/airline.txt

Add tag for vim-airline
This commit is contained in:
Jerome Reybert 2017-01-19 13:57:54 +01:00 committed by Christian Brabandt
parent e7e4769dc1
commit 9a95964256

View File

@ -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