Add language server source in ALEDetail

This commit is contained in:
Sridhar Srinivasan 2018-07-18 21:44:05 -05:00
parent 5453e0e1a4
commit 0c4606651f
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ function! ale#lsp#response#ReadDiagnostics(response) abort
let l:severity = get(l:diagnostic, 'severity', 0)
let l:loclist_item = {
\ 'text': l:diagnostic.message,
\ 'detail': printf("[%s] %s", l:diagnostic.source, l:diagnostic.message),
\ 'type': 'E',
\ 'lnum': l:diagnostic.range.start.line + 1,
\ 'col': l:diagnostic.range.start.character + 1,