diff options
author | Sridhar Srinivasan <sridhars+bitbucket@gmail.com> | 2018-07-18 21:44:05 -0500 |
---|---|---|
committer | Sridhar Srinivasan <sridhars+bitbucket@gmail.com> | 2018-07-18 21:44:05 -0500 |
commit | 0c4606651fa586f2b96ddb7330d3cd1b8094e9e9 (patch) | |
tree | 3231779b862add4f29e280615a69a1cbd7b564cf | |
parent | 5453e0e1a43302226da1d1d753e162af0231f9d3 (diff) | |
download | ale-0c4606651fa586f2b96ddb7330d3cd1b8094e9e9.zip |
Add language server source in ALEDetail
-rw-r--r-- | autoload/ale/lsp/response.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/autoload/ale/lsp/response.vim b/autoload/ale/lsp/response.vim index 3ac65388..ab3c503d 100644 --- a/autoload/ale/lsp/response.vim +++ b/autoload/ale/lsp/response.vim @@ -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, |