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 @@ -885,10 +885,8 @@ function getTypeCompletions(): CompletionItem[] {
885
885
}
886
886
887
887
function getPipelineCompletions ( ) : CompletionItem [ ] {
888
- const completions : CompletionItem [ ] = [ ] ;
889
-
890
- // Add common pipeline operators
891
- completions . push (
888
+ return [
889
+ // Add common pipeline operators
892
890
{
893
891
label : "|>" ,
894
892
kind : CompletionItemKind . Operator ,
@@ -909,9 +907,8 @@ function getPipelineCompletions(): CompletionItem[] {
909
907
detail : "Function composition" ,
910
908
documentation : "Compose functions (left to right)" ,
911
909
} ,
912
- ) ;
913
-
914
- return [ ...completions , ...getFunctionCompletions ( ) ] ;
910
+ ...getFunctionCompletions ( )
911
+ ] ;
915
912
}
916
913
917
914
function getImportCompletions ( ) : CompletionItem [ ] {
You can’t perform that action at this time.
0 commit comments