* Remove typed_pattern
* Rename asyncomplete_refresh_pattern to vim_lsp_refresh_pattern
* Fix textEdit to clear inserted text
* Fix when startcol can not be found
* Find first item for refresh_pattenr
* Fix
* Update doc
* Trim empty spaces right
* Use space
* Change text edit implementation to support \r
* Fix edit on unloaded buffer
* Add \r\n tests
* Fix for perf
Co-authored-by: mattn <mattn.jp@gmail.com>
1. Do not clear Conceal highlight group
2. Do not highlight concealed chars by using syntax region.
This fixes different background of concealed cchar and popup window
original solution had.
See #719 for details.
If g:lsp_preview_float is enabled there is no reason to close the
preview window on LspHover and LspSignatureHelp. Moreover the preview
window may be in use by other plugins or by the user.
Co-authored-by: mattn <mattn.jp@gmail.com>
* Cache signature_help_trigger_chars
* Move code to the part which updating init_results.
* Tweaking delay for signature help
* Disable warning of unused-variables
* Fix insert text
When insertTextFormat==2, it should prefer insertText. But it may include placeholder.
When insertTextFormat!=2, use insertText since it is plain-text.
When it have textEdit, the inserted text will be modified in later, so insert only word.
Otherwize, insert label since it should be what the server want to insert.
* Check with valid word pattern
* ":" should be invalid character
* Add lsp#utils#make_valid_word
* Add l: prefix
* Add test
* Add test
* \t should be ignored
Co-authored-by: hrsh7th <hrsh7th@gmail.com>
* Improve signature help with lexima.vim
* Fix buffer change problem
* Display signature help after cursor jumped
* Fix event
* Add _ prefix for inner functions
* Move some codes to completion.vim that related to handling CompleteDone.
* Add abort
* Fix test
* Add l: prefix to self vars
* Disable unused vars
* Restore position
* Support snippet simple case and vim-lsp-snippets
* Support g:lsp_text_edit_enabled
* Fix for v:null results
* Fix multi-byte chars
* Add document
* Fix for vim-lsp-snippets for now
* Prepare to future improvements
* More clalify line comment
* User get_user_data instead of extract_user_data
* Always use [''] pattern for accessing dictionary property
* Fix misspelling
* More strict check for completionProvider.resolveProvider
* Fix obj.key to obj['key']
* Store completed_item id to the user_data
* Fix omni tests
* Apply for the review
- Rename expand_text_simply -> simple_expand_text
- to_col -> _lsp_to_vim
- Rename user_data key
* Add example tests
* Add timeout to completionItem/resolve in completion.vim
* Fix timeout feature
* Add timeout log
* Fix documents
* added lsp#utils#location#_lsp_to_vim_list
* check of response.result
* remove lsp#ui#vim#utils#locations_to_loc_list
* refactor to use s:open_location
* use lsp#utils#is_file_uri
* add lsp#utils#buffer#_open_lsp_location(location)
add lsp#utils#position#lsp_to_vim(expr, position)
add visual selection when using _open_lsp_location
update tagstack when opening hierarchy item
* move to location.vim
* use normal!
* rename to lsp#utils#position#_lsp_to_vim
* update bufnr to the latest buffer