@@ -545,8 +545,8 @@ impl settings::Settings for AllLanguageSettings {
|
||||
edit_predictions_disabled_in: settings.edit_predictions_disabled_in.unwrap(),
|
||||
show_whitespaces: settings.show_whitespaces.unwrap(),
|
||||
whitespace_map: WhitespaceMap {
|
||||
space: SharedString::new(whitespace_map.space.to_string()),
|
||||
tab: SharedString::new(whitespace_map.tab.to_string()),
|
||||
space: SharedString::new(whitespace_map.space.unwrap().to_string()),
|
||||
tab: SharedString::new(whitespace_map.tab.unwrap().to_string()),
|
||||
},
|
||||
extend_comment_on_newline: settings.extend_comment_on_newline.unwrap(),
|
||||
inlay_hints: InlayHintSettings {
|
||||
|
||||
@@ -355,8 +355,8 @@ pub enum ShowWhitespaceSetting {
|
||||
#[skip_serializing_none]
|
||||
#[derive(Clone, Debug, Default, Serialize, Deserialize, JsonSchema, MergeFrom, PartialEq)]
|
||||
pub struct WhitespaceMapContent {
|
||||
pub space: char,
|
||||
pub tab: char,
|
||||
pub space: Option<char>,
|
||||
pub tab: Option<char>,
|
||||
}
|
||||
|
||||
/// The behavior of `editor::Rewrap`.
|
||||
|
||||
Reference in New Issue
Block a user