diff --git a/helix-core/src/indent.rs b/helix-core/src/indent.rs index 9489baa77..f5f36acac 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)]