@@ -336,12 +336,12 @@ fn generate_tag_name_completions(
336336 } ;
337337
338338 let mut completions = Vec :: new ( ) ;
339-
339+
340340 // First, check if we should suggest end tags
341341 // If partial starts with "end", prioritize end tags
342342 if partial. starts_with ( "end" ) && tag_specs. is_some ( ) {
343343 let specs = tag_specs. unwrap ( ) ;
344-
344+
345345 // Add all end tags that match the partial
346346 for ( opener_name, spec) in specs. iter ( ) {
347347 if let Some ( end_tag) = & spec. end_tag {
@@ -352,14 +352,14 @@ fn generate_tag_name_completions(
352352 insert_text. push ( ' ' ) ;
353353 }
354354 insert_text. push_str ( & end_tag. name ) ;
355-
355+
356356 // Add closing based on what's already present
357357 match closing {
358358 ClosingBrace :: None => insert_text. push_str ( " %}" ) ,
359359 ClosingBrace :: PartialClose => insert_text. push_str ( " %" ) ,
360360 ClosingBrace :: FullClose => { } // No closing needed
361361 }
362-
362+
363363 completions. push ( CompletionItem {
364364 label : end_tag. name . clone ( ) ,
365365 kind : Some ( CompletionItemKind :: KEYWORD ) ,
@@ -425,7 +425,7 @@ fn generate_tag_name_completions(
425425 } else {
426426 CompletionItemKind :: FUNCTION
427427 } ;
428-
428+
429429 let completion_item = CompletionItem {
430430 label : tag. name ( ) . clone ( ) ,
431431 kind : Some ( kind) ,
0 commit comments