From 018ee29e2d69e1e8b733a0c8fde6da2918d426d1 Mon Sep 17 00:00:00 2001 From: Conrad Irwin Date: Thu, 18 Sep 2025 00:55:19 -0600 Subject: [PATCH] Compiling again --- crates/editor/src/editor_tests.rs | 8 ++++---- crates/editor/src/element.rs | 4 ++-- crates/language/src/language_settings.rs | 10 +++++----- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/crates/editor/src/editor_tests.rs b/crates/editor/src/editor_tests.rs index 80fda5297a501405ed894f670580d963abf9c3aa..d0ae1e39cdda2fdc3d017f203bc1f38f2ca705a5 100644 --- a/crates/editor/src/editor_tests.rs +++ b/crates/editor/src/editor_tests.rs @@ -22,15 +22,15 @@ use indoc::indoc; use language::{ BracketPairConfig, Capability::ReadWrite, - DiagnosticSourceKind, FakeLspAdapter, LanguageConfig, LanguageConfigOverride, LanguageMatcher, - LanguageName, Override, Point, + DiagnosticSourceKind, FakeLspAdapter, IndentGuideSettings, LanguageConfig, + LanguageConfigOverride, LanguageMatcher, LanguageName, Override, Point, language_settings::{ CompletionSettingsContent, FormatterList, LanguageSettingsContent, LspInsertMode, SelectedFormatter, }, tree_sitter_python, }; -use language_settings::{Formatter, IndentGuideSettingsContent}; +use language_settings::Formatter; use lsp::CompletionParams; use multi_buffer::{IndentGuide, PathKey}; use parking_lot::Mutex; @@ -19961,7 +19961,7 @@ fn indent_guide(buffer_id: BufferId, start_row: u32, end_row: u32, depth: u32) - end_row: MultiBufferRow(end_row), depth, tab_size: 4, - settings: IndentGuideSettingsContent { + settings: IndentGuideSettings { enabled: true, line_width: 1, active_line_width: 1, diff --git a/crates/editor/src/element.rs b/crates/editor/src/element.rs index 7b6f26c85fb7619178c4ee364343763175f3c036..3bc05ccd537710c34c1c4e8e6d63c26440360f2e 100644 --- a/crates/editor/src/element.rs +++ b/crates/editor/src/element.rs @@ -51,7 +51,7 @@ use gpui::{ transparent_black, }; use itertools::Itertools; -use language::language_settings::{IndentGuideSettingsContent, ShowWhitespaceSetting}; +use language::{IndentGuideSettings, language_settings::ShowWhitespaceSetting}; use markdown::Markdown; use multi_buffer::{ Anchor, ExcerptId, ExcerptInfo, ExpandExcerptDirection, ExpandInfo, MultiBufferPoint, @@ -10177,7 +10177,7 @@ pub struct IndentGuideLayout { single_indent_width: Pixels, depth: u32, active: bool, - settings: IndentGuideSettingsContent, + settings: IndentGuideSettings, } pub struct CursorLayout { diff --git a/crates/language/src/language_settings.rs b/crates/language/src/language_settings.rs index 989079f0e600120c55f9136e5536324c8c5e959b..0683b90e6d4c1f908cd51cd8b1e292f81453277f 100644 --- a/crates/language/src/language_settings.rs +++ b/crates/language/src/language_settings.rs @@ -13,13 +13,13 @@ use schemars::json_schema; pub use settings::{ CompletionSettingsContent, EditPredictionProvider, EditPredictionsMode, FormatOnSave, - Formatter, FormatterList, IndentGuideSettingsContent, InlayHintKind, LanguageSettingsContent, - LspInsertMode, RewrapBehavior, SelectedFormatter, ShowWhitespaceSetting, SoftWrap, - WordsCompletionMode, + Formatter, FormatterList, InlayHintKind, LspInsertMode, RewrapBehavior, SelectedFormatter, + ShowWhitespaceSetting, SoftWrap, WordsCompletionMode, }; use settings::{ - LanguageTaskSettingsContent, ParameterizedJsonSchema, PrettierSettingsContent, Settings, - SettingsContent, SettingsLocation, SettingsStore, SettingsUi, + IndentGuideSettingsContent, LanguageSettingsContent, LanguageTaskSettingsContent, + ParameterizedJsonSchema, PrettierSettingsContent, Settings, SettingsContent, SettingsLocation, + SettingsStore, SettingsUi, }; use shellexpand; use std::{borrow::Cow, num::NonZeroU32, path::Path, sync::Arc};