diff --git a/crates/nuwiki-lsp/src/export.rs b/crates/nuwiki-lsp/src/export.rs index ac7a545..6b5bfa5 100644 --- a/crates/nuwiki-lsp/src/export.rs +++ b/crates/nuwiki-lsp/src/export.rs @@ -193,6 +193,9 @@ pub fn is_excluded(patterns: &[String], name: &str) -> bool { /// When set, it is stripped from wiki/interwiki link targets so a link /// written with the extension (`[[todo.wiki]]`) exports to `todo.html`, /// matching how the LSP resolves the same link for in-editor navigation. +// Every parameter is a distinct, cohesive render input; bundling them into a +// struct would add an abstraction without simplifying the single caller. +#[allow(clippy::too_many_arguments)] pub fn render_page_html( doc: &DocumentNode, template: Option,