diff options
author | Kyle L. Davis | 2022-08-06 01:13:58 +0000 |
---|---|---|
committer | GitHub | 2022-08-06 01:13:58 +0000 |
commit | 63ec10950f56cf1daff1f29b083aa270c2f224ad (patch) | |
tree | 559f419b4180eac0c2917b282f7dd45545114d25 /helix-view/src/document.rs | |
parent | bf6f7042fef31ec5f16a2aa1a048d9475b8b2f76 (diff) |
Fix comment (#3334)
Diffstat (limited to 'helix-view/src/document.rs')
-rw-r--r-- | helix-view/src/document.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/helix-view/src/document.rs b/helix-view/src/document.rs index ab64f485..c96f222d 100644 --- a/helix-view/src/document.rs +++ b/helix-view/src/document.rs @@ -576,9 +576,8 @@ impl Document { } /// Detect the indentation used in the file, or otherwise defaults to the language indentation - /// configured in `languages.toml`, with a fallback to 4 space indentation if it isn't - /// specified. Line ending is likewise auto-detected, and will fallback to the default OS - /// 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. pub fn detect_indent_and_line_ending(&mut self) { self.indent_style = auto_detect_indent_style(&self.text).unwrap_or_else(|| { self.language_config() |