* 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.
* 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>
* Add test to check v:completed_item after textedits
* Fix v:completed_item being reset after text edits
* Add silent to execute call in apply_text_edits
* Add test of 'lsp#utils#text_edit#apply_text_edits'.
* Fix `lsp#utils#text_edit#apply_text_edits` is delete one character when textEdit command kind is insert.
I fix the problem the apply_text_edits is deleting one character
if "textEdit['range']['start'] equals textEdit['range']['end'] and textEdit['new Text'] is empty".
* Fix tests.
- create new buffer each tests
- add test utility function `s:set_text` and `get_text`