summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--helix-core/src/indent.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/helix-core/src/indent.rs b/helix-core/src/indent.rs
index 9489baa7..f5f36aca 100644
--- a/helix-core/src/indent.rs
+++ b/helix-core/src/indent.rs
@@ -330,8 +330,7 @@ pub fn get_scopes(syntax: Option<&Syntax>, text: RopeSlice, pos: usize) -> Vec<&
}
scopes.reverse();
-
- return scopes;
+ scopes
}
#[cfg(test)]