From 83ceae726e7f0fd79490600db337e01434f8d852 Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Tue, 8 Aug 2017 12:57:50 +0200 Subject: [PATCH] syntastic: display line number for errors/warnings line number was omitted from 2e3055541e88676a32439063f1, so add it back in parenthesis. fixes #1525 --- autoload/airline/extensions/syntastic.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/airline/extensions/syntastic.vim b/autoload/airline/extensions/syntastic.vim index 9608ce0..1c91a8c 100644 --- a/autoload/airline/extensions/syntastic.vim +++ b/autoload/airline/extensions/syntastic.vim @@ -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)