mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-07-21 21:14:47 +02:00
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)
|
if empty(cnt)
|
||||||
return ''
|
return ''
|
||||||
else
|
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
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user