Improved documentation on formatters

Explains how unique_tail and unique_tail_improved delegate formatting of already-unique filenames to default.
This commit is contained in:
Thibault 2015-07-16 18:45:59 +02:00
parent cdc6d98a09
commit 92c2ac1c14

View File

@ -489,7 +489,11 @@ exposed.
endfunction endfunction
let g:airline#extensions#tabline#formatter = 'foo' let g:airline#extensions#tabline#formatter = 'foo'
< <
Note: the following variables are only used by the 'default' formatter.
Note: the following variables are only used by the 'default' formatter.
When no disambiguation is needed, both 'unique_tail_improved' and
'unique_tail' delegate formatting to 'default', so these variables also
control rendering of unique filenames when using these formatters.
* configure whether buffer numbers should be shown. > * configure whether buffer numbers should be shown. >
let g:airline#extensions#tabline#buffer_nr_show = 0 let g:airline#extensions#tabline#buffer_nr_show = 0