We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c19378 commit 933ab8cCopy full SHA for 933ab8c
helix-view/src/document.rs
@@ -576,9 +576,8 @@ impl Document {
576
}
577
578
/// 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.
+ /// configured in `languages.toml`, with a fallback to tabs if it isn't specified. Line ending
+ /// is likewise auto-detected, and will fallback to the default OS line ending.
582
pub fn detect_indent_and_line_ending(&mut self) {
583
self.indent_style = auto_detect_indent_style(&self.text).unwrap_or_else(|| {
584
self.language_config()
0 commit comments