LSP: fix placeholder key

see https://microsoft.github.io/language-server-protocol/specifications/
lsp/3.17/specification/#textDocument_prepareRename

This fixes the empty replacement input field when renaming a global
symbol with current clangd from the llvm main branch.

Change-Id: I6539a17c6172e7c96088645ab7234d9b0213170c
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
David Schulz
2024-03-04 05:50:06 +01:00
parent 911c486ff0
commit 118e39cae2

View File

@@ -143,7 +143,7 @@ constexpr Key parametersKey{"parameters"};
constexpr Key paramsKey{"params"};
constexpr Key patternKey{"pattern"};
constexpr Key percentageKey{"percentage"};
constexpr Key placeHolderKey{"placeHolder"};
constexpr Key placeHolderKey{"placeholder"};
constexpr Key positionKey{"position"};
constexpr Key prepareProviderKey{"prepareProvider"};
constexpr Key prepareSupportKey{"prepareSupport"};