Merge pull request #2345 from UtkarshVerma/master
coc: Show line number for warnings and errors.
This commit is contained in:
commit
fc639c0cf8
|
@ -38,7 +38,8 @@ function! airline#extensions#coc#get(type) abort
|
|||
if empty(cnt)
|
||||
return ''
|
||||
else
|
||||
return (is_err ? s:error_symbol : s:warning_symbol).cnt
|
||||
let lnum = printf('(L%d)', (info.lnums)[0])
|
||||
return (is_err ? s:error_symbol : s:warning_symbol).cnt.lnum
|
||||
endif
|
||||
endfunction
|
||||
|
||||
|
|
Loading…
Reference in New Issue