diff --git a/helix-core/src/indent.rs b/helix-core/src/indent.rs
index ac67bce2..df69eb73 100644
--- a/helix-core/src/indent.rs
+++ b/helix-core/src/indent.rs
@@ -492,6 +492,7 @@ fn query_indents(
 ///     },
 /// );
 /// ```
+#[allow(clippy::too_many_arguments)]
 pub fn treesitter_indent_for_pos(
     query: &Query,
     syntax: &Syntax,