@@ -727,7 +727,7 @@ pub struct WhitespaceCharacters {
727impl Default for WhitespaceCharacters {
727impl Default for WhitespaceCharacters {
728 fn default() -> Self {
728 fn default() -> Self {
730− space: '·', // U+00B7
730+ space: '·', // U+00B7
731 nbsp: '⍽', // U+237D
731 nbsp: '⍽', // U+237D
732 tab: '→', // U+2192
732 tab: '→', // U+2192
733 newline: '⏎', // U+23CE
733 newline: '⏎', // U+23CE
@@ -755,12 +755,13 @@ impl Default for IndentGuidesConfig {
757/// Line ending configuration.
757/// Line ending configuration.
758−#[derive(Debug, Copy, Clone, PartialEq, Eq, Serialize, Deserialize)]
758+#[derive(Default, Debug, Copy, Clone, PartialEq, Eq, Serialize, Deserialize)]
759#[serde(rename_all = "lowercase")]
759#[serde(rename_all = "lowercase")]
760pub enum LineEndingConfig {
760pub enum LineEndingConfig {
761 /// The platform's native line ending.
761 /// The platform's native line ending.
763 /// `crlf` on Windows, otherwise `lf`.
763 /// `crlf` on Windows, otherwise `lf`.
765 /// Line feed.
766 /// Line feed.
@@ -777,12 +778,6 @@ pub enum LineEndingConfig {
780−impl Default for LineEndingConfig {
781− fn default() -> Self {
782− LineEndingConfig::Native
786impl From<LineEndingConfig> for LineEnding {
781impl From<LineEndingConfig> for LineEnding {
787 fn from(line_ending: LineEndingConfig) -> Self {
782 fn from(line_ending: LineEndingConfig) -> Self {
788 match line_ending {
783 match line_ending {