File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -879,10 +879,8 @@ function getTypeCompletions(): CompletionItem[] {
879
879
}
880
880
881
881
function getPipelineCompletions ( ) : CompletionItem [ ] {
882
- const completions : CompletionItem [ ] = [ ] ;
883
-
884
- // Add common pipeline operators
885
- completions . push (
882
+ return [
883
+ // Add common pipeline operators
886
884
{
887
885
label : "|>" ,
888
886
kind : CompletionItemKind . Operator ,
@@ -903,9 +901,8 @@ function getPipelineCompletions(): CompletionItem[] {
903
901
detail : "Function composition" ,
904
902
documentation : "Compose functions (left to right)" ,
905
903
} ,
906
- ) ;
907
-
908
- return [ ...completions , ...getFunctionCompletions ( ) ] ;
904
+ ...getFunctionCompletions ( )
905
+ ] ;
909
906
}
910
907
911
908
function getImportCompletions ( ) : CompletionItem [ ] {
You can’t perform that action at this time.
0 commit comments