mirror of
https://github.com/amix/vimrc
synced 2025-08-07 06:05:00 +08:00
Updated vim plugins
This commit is contained in:
@ -66,6 +66,10 @@ function! ale#lsp#response#ReadDiagnostics(response) abort
|
||||
let l:loclist_item.detail = l:diagnostic.message . "\n" . join(l:related, "\n")
|
||||
endif
|
||||
|
||||
if has_key(l:diagnostic, 'source')
|
||||
let l:loclist_item.detail = printf('[%s] %s', l:diagnostic.source, l:diagnostic.message)
|
||||
endif
|
||||
|
||||
call add(l:loclist, l:loclist_item)
|
||||
endfor
|
||||
|
||||
|
Reference in New Issue
Block a user