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:
parent
02816a3cb6
commit
9a2ed35ff9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue