Skip to content

Commit c11757c

Browse files
committed
Refactor completion items
Signed-off-by: Ben Sherman <bentshermann@gmail.com>
1 parent ef0a653 commit c11757c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/nextflow/lsp/NextflowLanguageServer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -451,10 +451,10 @@ public void didChangeConfiguration(DidChangeConfigurationParams params) {
451451
var excludePatterns = JsonUtils.getStringArray(params.getSettings(), "nextflow.files.exclude");
452452
if( !DefaultGroovyMethods.equals(configuration.excludePatterns(), excludePatterns) )
453453
shouldInitialize = true;
454-
var extendedCompletion = JsonUtils.getBoolean(params.getSettings(), "nextflow.extendedCompletion");
454+
var extendedCompletion = JsonUtils.getBoolean(params.getSettings(), "nextflow.completion.extended");
455455
var harshilAlignment = JsonUtils.getBoolean(params.getSettings(), "nextflow.formatting.harshilAlignment");
456456
var maheshForm = JsonUtils.getBoolean(params.getSettings(), "nextflow.formatting.maheshForm");
457-
var maxCompletionItems = JsonUtils.getInteger(params.getSettings(), "nextflow.maxCompletionItems");
457+
var maxCompletionItems = JsonUtils.getInteger(params.getSettings(), "nextflow.completion.maxItems");
458458
var typeChecking = JsonUtils.getBoolean(params.getSettings(), "nextflow.typeChecking");
459459
if( typeChecking != null && configuration.typeChecking() != typeChecking )
460460
shouldInitialize = true;

0 commit comments

Comments
 (0)