mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
lsp: fixup workspace symbol capabilities (#12233)
use workspace.symbol instead of workspaceSymbol to mimic the lsp spec.
This commit is contained in:
parent
d13c1642ae
commit
501ef95298
@ -688,7 +688,9 @@ function protocol.make_client_capabilities()
|
||||
};
|
||||
hierarchicalDocumentSymbolSupport = true;
|
||||
};
|
||||
workspaceSymbol = {
|
||||
};
|
||||
workspace = {
|
||||
symbol = {
|
||||
dynamicRegistration = false;
|
||||
symbolKind = {
|
||||
valueSet = (function()
|
||||
@ -702,7 +704,6 @@ function protocol.make_client_capabilities()
|
||||
hierarchicalWorkspaceSymbolSupport = true;
|
||||
};
|
||||
};
|
||||
workspace = nil;
|
||||
experimental = nil;
|
||||
}
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user