Java artifacts for buildship30 plugin. Fix semantic tokens refresh.
This commit is contained in:
@@ -37,7 +37,9 @@ public final class JpqlSupportState {
|
||||
private synchronized void setEnabled(boolean enabled) {
|
||||
if (this.enabled != enabled) {
|
||||
this.enabled = enabled;
|
||||
server.getAsync().execute(() -> server.getClient().refreshSemanticTokens());
|
||||
if (server.getWorkspaceService().supportsSemanticTokensRefresh()) {
|
||||
server.getAsync().execute(() -> server.getClient().refreshSemanticTokens());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user