lsp/cache: provide placeholder for PrepareRename
LSP supports a PrepareRename method. This allows the LSP server to
expand a file coordinate to the range of the token found (to be
renamed), and also provide a placeholder value which the editor can use
to pre-populate a rename dialog.
We already implemented this method, and provided the token range, but we
did not provide the placeholder field. This CL adds the placeholder.
Signed-off-by: Matthew Sackman <matthew@cue.works>
Change-Id: I8c331b3d7714dcd56c8a019c4492a6bbc58366f1
Reviewed-on: https://cue.gerrithub.io/c/cue-lang/cue/+/1230271
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>