* Fix the structure of test response
* Add end positions for quickfix/loclist
* Add a function to make loc_range
---------
Co-authored-by: mattn <mattn.jp@gmail.com>
* set type of location list items for diagnostics
* use s:get_diagnostic_severity_text() once while making location list from diagnostics results
Co-authored-by: mattn <mattn.jp@gmail.com>
* Sort results
* Sort by text
* Workaround for older version of Vim that does not include module in the list given from getloclist
* Sort items by text
* Fix test
* render diagnostics in loclist and fix args paser
* document --buffers flag for LspDocumentDiagnostics
* do not show diagnostics if it is disabled for buffer
* remove old code and fix plug mapping for lsp-document-diagnostics
* add unit tests for document diagnostics command