Skip to content

Commit b7ecd0e

Browse files
committed
What?
1 parent e5b38d4 commit b7ecd0e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/com/intellij/devkt/json/Json.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ public T attributesOf(IElementType iElementType, ColorScheme<? extends T> colorS
3636
if (iElementType == JsonElementTypes.LINE_COMMENT) return colorScheme.getLineComments();
3737
else if (iElementType == JsonElementTypes.BLOCK_COMMENT) return colorScheme.getBlockComments();
3838
else if (iElementType == JsonElementTypes.NUMBER) return colorScheme.getNumbers();
39-
else if (iElementType == JsonElementTypes.STRING_LITERAL) return colorScheme.getProperty();
39+
else if (iElementType == JsonElementTypes.SINGLE_QUOTED_STRING) return colorScheme.getString();
40+
else if (iElementType == JsonElementTypes.DOUBLE_QUOTED_STRING) return colorScheme.getProperty();
4041
else if (iElementType == JsonElementTypes.IDENTIFIER) return colorScheme.getIdentifiers();
4142
else if (JsonParserDefinition.JSON_BRACES.contains(iElementType)) return colorScheme.getBraces();
4243
else if (JsonParserDefinition.JSON_KEYWORDS.contains(iElementType)) return colorScheme.getKeywords();

0 commit comments

Comments
 (0)