Skip to content

Commit 933ab8c

Browse files
AceofSpades5757thomasskk
authored andcommitted
Fix comment (helix-editor#3334)
1 parent 9c19378 commit 933ab8c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

helix-view/src/document.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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()

0 commit comments

Comments
 (0)