aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src/document.rs
diff options
context:
space:
mode:
authorMatouš Dzivjak2022-10-20 22:05:04 +0000
committerGitHub2022-10-20 22:05:04 +0000
commit4cff6250548d279ab69627177bd55312adb822a6 (patch)
tree7197e8703439fcd10323dbf2e74c4839fe5544c8 /helix-view/src/document.rs
parent36f97b6aadec1a5c0cc61859d4f456f005983be0 (diff)
chore(view): remove indent_unit helper fn (#4389)
Diffstat (limited to 'helix-view/src/document.rs')
-rw-r--r--helix-view/src/document.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/helix-view/src/document.rs b/helix-view/src/document.rs
index 78c6d032..a723b89b 100644
--- a/helix-view/src/document.rs
+++ b/helix-view/src/document.rs
@@ -1052,14 +1052,6 @@ impl Document {
.map_or(4, |config| config.tab_width) // fallback to 4 columns
}
- /// Returns a string containing a single level of indentation.
- ///
- /// TODO: we might not need this function anymore, since the information
- /// is conveniently available in `Document::indent_style` now.
- pub fn indent_unit(&self) -> &'static str {
- self.indent_style.as_str()
- }
-
pub fn changes(&self) -> &ChangeSet {
&self.changes
}