syntastic: display line number for errors/warnings

line number was omitted from 2e3055541e, so add it back
in parenthesis.

fixes #1525
This commit is contained in:
Christian Brabandt 2017-08-08 12:57:50 +02:00
parent 711f50a567
commit 83ceae726e
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09

View File

@ -22,9 +22,9 @@ function! airline#extensions#syntastic#get(type)
let _backup = get(g:, 'syntastic_stl_format', '')
let is_err = (a:type is# 'error')
if is_err
let g:syntastic_stl_format = '%E{%e}'
let g:syntastic_stl_format = '%E{%e(L%fe)}'
else
let g:syntastic_stl_format = '%W{%w}'
let g:syntastic_stl_format = '%W{%w(L%fw)}'
endif
let cnt = SyntasticStatuslineFlag()
if !empty(_backup)