This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Currently the original replacement prefix sent by the LSP server in the `textEdit` field is overwritten in getSuggestions(). This, for example, causes the following case: foo-> to autocomplete to foo->->bar() instead of the expected foo->bar() This commit fixes the issue by saving the original replacement prefix (`->` in the example above), and modifying `getSuggestions()` to append to instead of overwrite this original replacement prefix.
- Loading branch information
1 parent
cc8975d
commit 6d1e984
Showing
1 changed file
with
38 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters