* 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
* use callbag to implement document format with timeout
* document lsp#stream() with example
* send message to stream when using lsp#_new_command
* use -- for args parsing and add g:lsp_document_format_sync_timeout
* throw string exception
* use new func for <plug>(lsp-document-format)
* document g:lsp_format_sync_timeout
* rename to document_formatting
* add document_range_formatting.vim
* remove formatting from ui/vim.vim
* document :LspDocumentRangeFormatSync
* add LspDocumentFormatSync example in README.md
* show message request
* materialize so doesn't throw error and add message to input list
* fix lint issues and rename flag to lsp_show_message_request_enabled
* use action and fix filter
* document g:lsp_show_message_request_enabled
* Show documentation in Vim popup
* Use timer
* Reuse logic from output.vim
* Change default text
* Rename functions
* Refactor
* Use v:event
* Add comment
* Remove log
* Refactor
* Implement documentation in Neovim
* Cleanup Neovim popup
* Let Neovim float take all available space
* Extract get_size_info
* Reuse sizing logic from output.vim
* Fix Neovim positioning being reset
* Update autoload/lsp/ui/vim/documentation.vim
Co-Authored-By: Christian Clason <christian.clason@uni-due.de>
* Make vint happy
* Retrigger Travis CI
* add g:lsp_documentation_float flag
* fix lint issues
Co-authored-by: Christian Clason <christian.clason@uni-due.de>
Co-authored-by: Prabir Shrestha <mail@prabir.me>
* Add support for tagfunc option
* Consolidate various synchronous wait implementations
* Refactor to use lsp#utils#position#lsp_to_vim
Also marks get_symbol_text_from_kind as internal and fixes compatibility
with older vims.
* use lua if available for diff
* add docs
* sync with latest vim-lsc changes
* lazily init lua
* update vim to 8.2.0817
* update vim to 8.2.0817 for windows
* use vim 8.2.0814
* check for path 8.2.0775 before enabling lua
* use vim 8.2.0813 since it exists for both linux and windows
* update lua patch check
* optimize vimscript diff by using range
* fix lint issues
Have virtual text default to vim-lsp defaults for each severity sign,
follow any set or link for a user defined Lsp*Text highlight group, but
allow for unique hi for Lsp*Virtual.
Updated documentation to reflect changes. Fixed typo in README.md.
I added an example because there are some pitfalls if one is not fluent
in vimscript:
- using call() instead of :call
- passing a:item and varargs correctly
- variable name for FuncRef must be uppercase
- g:lsp_get_vim_completion_item must be a List
Co-authored-by: Prabir Shrestha <mail@prabir.me>
* Commonalize some similar functions
* Add <mods> support for some commands
Supported commands:
- :LspDeclaration
- :LspDefinition
- :LspTypeDefinition
- :LspImplementation