coc: Show line number for warnings and errors.
This commit is contained in:
parent
cb1bc19064
commit
32d28421fe
|
@ -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