nvim_runtime_lua

lsp.WorkspaceSymbol

A special workspace symbol that supports locations without a range.

See also SymbolInformation.

Fields2

WorkspaceSymbol.location : lsp.Location | lsp.LocationUriOnly

The location of the symbol. Whether a server is allowed to return a location without a range depends on the client capability workspace.symbol.resolveSupport.

See SymbolInformation#location for more details.

WorkspaceSymbol.data : lsp.LSPAny | nil

A data entry field that is preserved on a workspace symbol between a workspace symbol request and a workspace symbol resolve request.