Skip to content

Commit

Permalink
temp
Browse files Browse the repository at this point in the history
  • Loading branch information
prabirshrestha committed Dec 28, 2020
1 parent f5e638c commit 453691d
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ function! lsp#internal#diagnostics#document_diagnostics_command#do(options) abor

let l:result = []
for [l:uri, l:value] in items(l:filtered_diagnostics)
for l:diagnostics in values(l:value)
let l:result += lsp#ui#vim#utils#diagnostics_to_loc_list({ 'response': l:diagnostics })
endfor
if lsp#internal#diagnostics#state#_is_enabled_for_buffer(bufnr(lsp#utils#uri_to_path(l:uri)))
for l:diagnostics in values(l:value)
let l:result += lsp#ui#vim#utils#diagnostics_to_loc_list({ 'response': l:diagnostics })
endfor
endif
endfor

if empty(l:result)
Expand Down

0 comments on commit 453691d

Please sign in to comment.