Skip to content

Commit 79accf0

Browse files
#18: The highlight color of block comment and line comment should be swapped
1 parent 9c267a0 commit 79accf0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/io/protostuff/jetbrains/plugin/ProtoSyntaxHighlighter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@ public TextAttributesKey[] getTokenHighlights(IElementType tokenType) {
8181
attrKey = STRING;
8282
break;
8383
case ProtoLexer.COMMENT:
84-
attrKey = LINE_COMMENT;
84+
attrKey = BLOCK_COMMENT;
8585
break;
8686
case ProtoLexer.LINE_COMMENT:
87-
attrKey = BLOCK_COMMENT;
87+
attrKey = LINE_COMMENT;
8888
break;
8989
default:
9090
return EMPTY_KEYS;

0 commit comments

Comments
 (0)