Merge remote-tracking branch 'origin/main' into chat-font-size

This commit is contained in:
Conrad Irwin 2024-01-20 14:51:53 -07:00
commit 29ac1fd081
18 changed files with 543 additions and 290 deletions

View file

@ -379,8 +379,11 @@ pub trait LspAdapter: 'static + Send + Sync {
#[derive(Clone, Debug, PartialEq, Eq)]
pub struct CodeLabel {
/// The text to display.
pub text: String,
/// Syntax highlighting runs.
pub runs: Vec<(Range<usize>, HighlightId)>,
/// The portion of the text that should be used in fuzzy filtering.
pub filter_range: Range<usize>,
}