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