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;
|
hierarchicalDocumentSymbolSupport = true;
|
||||||
};
|
};
|
||||||
workspaceSymbol = {
|
};
|
||||||
|
workspace = {
|
||||||
|
symbol = {
|
||||||
dynamicRegistration = false;
|
dynamicRegistration = false;
|
||||||
symbolKind = {
|
symbolKind = {
|
||||||
valueSet = (function()
|
valueSet = (function()
|
||||||
@ -702,7 +704,6 @@ function protocol.make_client_capabilities()
|
|||||||
hierarchicalWorkspaceSymbolSupport = true;
|
hierarchicalWorkspaceSymbolSupport = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
workspace = nil;
|
|
||||||
experimental = nil;
|
experimental = nil;
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user