@@ -576,9 +576,8 @@ impl Document {
576576 }
577577
578578 /// Detect the indentation used in the file, or otherwise defaults to the language indentation
579− /// configured in `languages.toml`, with a fallback to 4 space indentation if it isn't
580− /// specified. Line ending is likewise auto-detected, and will fallback to the default OS
581− /// line ending.
579+ /// configured in `languages.toml`, with a fallback to tabs if it isn't specified. Line ending
580+ /// is likewise auto-detected, and will fallback to the default OS line ending.
582581 pub fn detect_indent_and_line_ending(&mut self) {
583582 self.indent_style = auto_detect_indent_style(&self.text).unwrap_or_else(|| {
584583 self.language_config()