branch: remove double '.' for string concatenation

fixes #1961
This commit is contained in:
Christian Brabandt 2019-08-22 07:56:51 +02:00
parent 57fb980df7
commit d848de4918
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09
1 changed files with 1 additions and 1 deletions

View File

@ -282,7 +282,7 @@ function! airline#extensions#branch#head()
if strwidth(b:airline_head) > w:displayed_head_limit - 1
let b:airline_head =
\ airline#util#strcharpart(b:airline_head, 0, w:displayed_head_limit - 1)
\ ..(&encoding ==? 'utf-8' ? '…' : '.')
\ . (&encoding ==? 'utf-8' ? '…' : '.')
endif
endif