A few minor fixes: check that the insert text has the expected prefix before removing it, use a bytes.Buffer to build up snippets, and check that functions have parentheses in their insert text before trimming them. Change-Id: Iaeaf6fda25d6b0a375460b975188486685be1061 Reviewed-on: https://go-review.googlesource.com/c/152978 Reviewed-by: Ingo Oeser <nightlyone@googlemail.com> Reviewed-by: Ian Cottrell <iancottrell@google.com> |
||
|---|---|---|
| .. | ||
| cache | ||
| protocol | ||
| source | ||
| testdata | ||
| completion.go | ||
| diagnostics.go | ||
| format.go | ||
| lsp110_test.go | ||
| lsp_test.go | ||
| position.go | ||
| server.go | ||
| signature_help.go | ||