@@ -450,6 +450,8 @@ public void didChangeConfiguration(DidChangeConfigurationParams params) {
450450
451451 var oldConfiguration = configuration ;
452452 configuration = new LanguageServerConfiguration (
453+ withDefault (JsonUtils .getString (settings , "nextflow.dag.direction" ), configuration .dagDirection ()),
454+ withDefault (JsonUtils .getBoolean (settings , "nextflow.dag.verbose" ), configuration .dagVerbose ()),
453455 withDefault (errorReportingMode (settings ), configuration .errorReportingMode ()),
454456 withDefault (JsonUtils .getStringArray (settings , "nextflow.files.exclude" ), configuration .excludePatterns ()),
455457 withDefault (JsonUtils .getBoolean (settings , "nextflow.completion.extended" ), configuration .extendedCompletion ()),
@@ -553,14 +555,14 @@ public CompletableFuture<Object> executeCommand(ExecuteCommandParams params) {
553555 var uri = JsonUtils .getString (arguments .get (0 ));
554556 var service = getLanguageService (uri );
555557 if ( service != null )
556- return service .executeCommand (command , arguments );
558+ return service .executeCommand (command , arguments , configuration );
557559 }
558560 if ( "nextflow.server.previewWorkspace" .equals (command ) && arguments .size () == 1 ) {
559561 log .debug (String .format ("textDocument/previewWorkspace %s" , arguments .toString ()));
560562 var name = JsonUtils .getString (arguments .get (0 ));
561563 var service = scriptServices .get (name );
562564 if ( service != null )
563- return service .executeCommand (command , arguments );
565+ return service .executeCommand (command , arguments , configuration );
564566 }
565567 return null ;
566568 });
0 commit comments