tabline: do not confuse Vim

looks like this:
```
let a=(condition ? s:var:'')
```
confuses older Vims and it complains about a missing colon. So make
parsing a bit easier and add a space in front of the second colon.

fixes #1629
This commit is contained in:
Christian Brabandt 2018-01-08 13:46:08 +01:00
parent 02816a3cb6
commit 9a2ed35ff9
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09

View File

@ -87,7 +87,7 @@ function! airline#extensions#tabline#buffers#get()
call b.add_raw('%'.nr.'@airline#extensions#tabline#buffers#clickbuf@')
endif
let space= (pgroup == group ? s:spc: '')
let space= (pgroup == group ? s:spc : '')
if get(g:, 'airline#extensions#tabline#buffer_idx_mode', 0)
if len(s:number_map) > 0