mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-16 15:11:25 +00:00
ad4e52842c
This PR extends the interface for slash commands defined in extensions to have them return `SlashCommandOutput`. This allows for slash commands to return multiple output sections for a single piece of generated text. Note that we don't allow specifying the icon to display in the placeholder, as we don't want to commit to that in our API at the moment. Release Notes: - N/A
9 lines
224 B
Text
9 lines
224 B
Text
interface common {
|
|
/// A (half-open) range (`[start, end)`).
|
|
record range {
|
|
/// The start of the range (inclusive).
|
|
start: u32,
|
|
/// The end of the range (exclusive).
|
|
end: u32,
|
|
}
|
|
}
|