From a787be6c9fecfa476799ba8fbeb3cd97a464e2dc Mon Sep 17 00:00:00 2001 From: Valentine Briese Date: Fri, 17 May 2024 09:09:35 -0700 Subject: [PATCH] Clarify `CodeLabel.filter_range` doc (#11383) Improves documentation for `CodeLabel.filter_range` in `zed_extension_api` by clarifying that it's a range of only the text displayed in the label, *not* the `code` field. Release Notes: - N/A --- crates/extension_api/wit/since_v0.0.6/extension.wit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/extension_api/wit/since_v0.0.6/extension.wit b/crates/extension_api/wit/since_v0.0.6/extension.wit index 82c11ea3f6..2f42cc0365 100644 --- a/crates/extension_api/wit/since_v0.0.6/extension.wit +++ b/crates/extension_api/wit/since_v0.0.6/extension.wit @@ -97,7 +97,7 @@ world extension { code: string, /// The spans to display in the label. spans: list, - /// The range of the code to include when filtering. + /// The range of the displayed label to include when filtering. filter-range: range, }