
Previously, the client would decide when to ask the server for completions, and it would only do so for identifiers that had spans (determined via the highlighter!). Swap this around and make the server decide if it wants to complete something. This commit also adds a CompletionKind (which only has one value: Identifier), to work with other kinds of completions as well.
4 lines
120 B
Text
4 lines
120 B
Text
endpoint LanguageClient = 8002
|
|
{
|
|
AutoCompleteSuggestions(Vector<HackStudio::AutoCompleteResponse> suggestions) =|
|
|
}
|