diff options
author | Blaž Hrastnik | 2022-03-03 08:18:26 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2022-03-03 08:18:26 +0000 |
commit | 0062af6a19d96e0a4c3f94e3e44c179230e005b9 (patch) | |
tree | a2cbea9a8bec1d0aed96c4d20e831e587e2310b8 /helix-term/src/ui/editor.rs | |
parent | 737282d0e9d33923dad682994a521ac46be3c0d0 (diff) |
minor: Remove some outdated comments
Diffstat (limited to 'helix-term/src/ui/editor.rs')
-rw-r--r-- | helix-term/src/ui/editor.rs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/helix-term/src/ui/editor.rs b/helix-term/src/ui/editor.rs index 3d2e4298..f9c5e55e 100644 --- a/helix-term/src/ui/editor.rs +++ b/helix-term/src/ui/editor.rs @@ -522,7 +522,6 @@ impl EditorView { let info = theme.get("info"); let hint = theme.get("hint"); - // Vec::with_capacity(diagnostics.len()); // rough estimate let mut lines = Vec::new(); for diagnostic in diagnostics { let text = Text::styled( @@ -637,19 +636,6 @@ impl EditorView { base_style, )); - // let indent_info = match doc.indent_style { - // IndentStyle::Tabs => "tabs", - // IndentStyle::Spaces(1) => "spaces:1", - // IndentStyle::Spaces(2) => "spaces:2", - // IndentStyle::Spaces(3) => "spaces:3", - // IndentStyle::Spaces(4) => "spaces:4", - // IndentStyle::Spaces(5) => "spaces:5", - // IndentStyle::Spaces(6) => "spaces:6", - // IndentStyle::Spaces(7) => "spaces:7", - // IndentStyle::Spaces(8) => "spaces:8", - // _ => "indent:ERROR", - // }; - // Position let pos = coords_at_pos( doc.text().slice(..), |