From 5d5674fd27b9319a0642ec71c9679e8f11def5b3 Mon Sep 17 00:00:00 2001 From: FalsePattern Date: Thu, 4 Jul 2024 15:15:42 +0200 Subject: [PATCH] fix: Semantic token color providers not being applied to language server definition --- .../com/redhat/devtools/lsp4ij/LanguageServersRegistry.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/redhat/devtools/lsp4ij/LanguageServersRegistry.java b/src/main/java/com/redhat/devtools/lsp4ij/LanguageServersRegistry.java index fd53e6df6..ad40df1d4 100644 --- a/src/main/java/com/redhat/devtools/lsp4ij/LanguageServersRegistry.java +++ b/src/main/java/com/redhat/devtools/lsp4ij/LanguageServersRegistry.java @@ -136,7 +136,7 @@ private void loadServersAndMappingsFromExtensionPoint() { if (semanticTokensColorsProvider != null) { serverDefinition.setSemanticTokensColorsProvider(semanticTokensColorsProvider); } - addServerDefinitionWithoutNotification(new ExtensionLanguageServerDefinition(server), mappingsForServer); + addServerDefinitionWithoutNotification(serverDefinition, mappingsForServer); } }