update to the documentation

Mention, that the variable
g:airline#extensions#tabline#switch_buffers_and_tabs only works
with the ctrlspace integration.

closes #1390
This commit is contained in:
Christian Brabandt 2017-03-16 21:17:09 +01:00
parent 70dd0655d2
commit b57022bfc2
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09

View File

@ -558,8 +558,9 @@ are supported!
let g:airline#extensions#tabline#show_splits = 1 let g:airline#extensions#tabline#show_splits = 1
* *
* switch position of buffers and tabs on splited tabline (c) * switch position of buffers and tabs on splited tabline (c)
(only supported for ctrlspace plugin). >
let g:airline#extensions#tabline#switch_buffers_and_tabs = 0 let g:airline#extensions#tabline#switch_buffers_and_tabs = 0
<
* enable/disable displaying buffers with a single tab. (c) * enable/disable displaying buffers with a single tab. (c)
let g:airline#extensions#tabline#show_buffers = 1 let g:airline#extensions#tabline#show_buffers = 1
< <
@ -808,10 +809,10 @@ vim-ctrlspace <https://github.com/szw/vim-ctrlspace>
* enable/disable vim-ctrlspace integration > * enable/disable vim-ctrlspace integration >
let g:airline#extensions#ctrlspace#enabled = 1 let g:airline#extensions#ctrlspace#enabled = 1
<
To make the vim-ctrlspace integration work you will need to make the To make the vim-ctrlspace integration work you will need to make the
ctrlspace statusline function call the correct airline function. Therefore ctrlspace statusline function call the correct airline function. Therefore
add the following line into your .vimrc: add the following line into your .vimrc: >
let g:CtrlSpaceStatuslineFunction = "airline#extensions#ctrlspace#statusline()" let g:CtrlSpaceStatuslineFunction = "airline#extensions#ctrlspace#statusline()"
< <