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:
parent
711f50a567
commit
83ceae726e
@ -22,9 +22,9 @@ function! airline#extensions#syntastic#get(type)
|
|||||||
let _backup = get(g:, 'syntastic_stl_format', '')
|
let _backup = get(g:, 'syntastic_stl_format', '')
|
||||||
let is_err = (a:type is# 'error')
|
let is_err = (a:type is# 'error')
|
||||||
if is_err
|
if is_err
|
||||||
let g:syntastic_stl_format = '%E{%e}'
|
let g:syntastic_stl_format = '%E{%e(L%fe)}'
|
||||||
else
|
else
|
||||||
let g:syntastic_stl_format = '%W{%w}'
|
let g:syntastic_stl_format = '%W{%w(L%fw)}'
|
||||||
endif
|
endif
|
||||||
let cnt = SyntasticStatuslineFlag()
|
let cnt = SyntasticStatuslineFlag()
|
||||||
if !empty(_backup)
|
if !empty(_backup)
|
||||||
|
Loading…
Reference in New Issue
Block a user