* 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`