diff --git a/src/plugins/languageclient/semantichighlightsupport.cpp b/src/plugins/languageclient/semantichighlightsupport.cpp index 3e3279a653a..883b604885d 100644 --- a/src/plugins/languageclient/semantichighlightsupport.cpp +++ b/src/plugins/languageclient/semantichighlightsupport.cpp @@ -246,8 +246,7 @@ void SemanticTokenSupport::updateFormatHash() case numberToken: style = C_NUMBER; break; case operatorToken: style = C_OPERATOR; break; default: - style = m_additionalTypeStyles.value(tokenType, C_TEXT); - break; + continue; } int mainHashPart = tokenType << tokenTypeBitOffset; m_formatHash[mainHashPart] = fontSettings.toTextCharFormat(style);