* 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>
* fix index out of range error when no item in quickpick list
* update embedded quickpick to cf41eecb983c41e5fc45e83291b551a85fe554d3
* generate subtitle of codelens item from command arguments' labels
* add tests for lsp#ui#vim#code_lens#_get_subtitle()
* use label when filterText is falsy value
* use label when insertText is falsy value on completion done
* Revert "fix inserting "v:null" when newText in textEdit is null (#1093)"
This reverts commit 907f1c9667.
* Revert "add test case where newText is null for #1093 (#1094)"
This reverts commit e214f1cfee.
* ensure l:bufferlines is defined when using preview window
previously, when using the preview window to show signatures, the code
failed with an stacktrace like:
"s:on_stdout client request on_notification() error",
"Vim(return):E121: Undefined variable: l:bufferlines",
"function <SNR>118_out_cb[2]..
<SNR>107_on_stdout[79]..
<SNR>92_request_on_notification[3]..
<SNR>93_createNext[1]..
<SNR>93_subscribeSourceCallback[2]..
<lambda>738[1]..
<SNR>94_handle_signature_help[48]..
lsp#ui#vim#output#preview[39]..
lsp#ui#vim#output#get_size_info, line 22"
This commit ensures that the required variable is properly defined in
all the situations (popup, nvim, preview window)
* removed superfluous return statement
* Typo fixed
* Improve placement of documentation popup in neovim
If the available space in either side of the completion popup is less
than 3/4 of the required width, then we shall place the documentation
popup below (or above, if necessary) of the completion popup.
Previously, the documentation was just squashed into whatever space was
available. It made documentation undreadable in some cases.
* 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
* Convert lowercase drive letters to uppercase
I faced a problem that error diagnostics message does not shown in golang source code. In a result of my investigation, this problem occurs when I change the current directory with lowercase driveletter like `cd c:\dev\go\test001`. When `cd C:\dev\go\test001` is no problem. To avoid this problem, we need to convert driver letter to uppercase in lsp#utils#path_to_uri function.
* Update utils.vimspec
* Revise a code in diagnostics.vim instead of utils.vim to reduce impact of modification
* Create a function to normalize uri
* Add a comment about normalize discussion
* Delete s:is_win check
* Revise comment for normalization of urls
* download rust-analyzer
* added empty testproject-rust
* add integration tests for LspDocumentFormatSync
* wipeout all buffer
* set shiftwidth and tabstop
* set gobal shiftwidth and tabstop
* remove tabstop
* sleep 100m
* remove l:got
* get latest line
* sleep 4000m
* use setl shiftwidth=4
* use %bwipeout!
* wait for rust-analyzer to start
* fix lint issues
* indent left
* remove log
* disable log
* set timeout to 10sec
* add 100m sleep
* download rust-analyzer for linux neovim
* add message to diagnostics test
* severity is optional in diagnostics
* download rust-analyzer for mac_neovim
* update README.md with test section