Merge pull request #1331 from flatcap/master
Abbreviate the text for 'po' translation files.
This commit is contained in:
commit
3ebd7ad64b
@ -77,6 +77,7 @@ function! airline#extensions#po#stats()
|
||||
endif
|
||||
try
|
||||
let b:airline_po_stats = '['. split(airline_po_stats, '\n')[0]. ']'
|
||||
let b:airline_po_stats = substitute(b:airline_po_stats, ' \(message\|translation\)s*\.*', '', 'g')
|
||||
catch
|
||||
let b:airline_po_stats = ''
|
||||
endtry
|
||||
|
Loading…
Reference in New Issue
Block a user