on master help sign in
Fix comment (#3334)
commit63ec10950f56cf1daff1f29b083aa270c2f224ad authorKyle L. Davis <kyle.l.davis57@gmail.com> dateFri 5 Aug 2022, 20:13 (4 years ago) parentbf6f704
1 file changed+2−3
helix-view/src/document.rs+2−3
helix-view/src/document.rs+2−3
@@ -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()