Skip to content

Commit 7ecdedf

Browse files
committed
Fix highlighting of topmost braces.
1 parent 423677c commit 7ecdedf

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/main/kotlin/com/github/simy4/alabaster/ClojureAnnotator.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ class ClojureAnnotator : Annotator {
5151
// Top level parentheses are highlighted as standard parentheses, otherwise they are greyish colour.
5252
ClojureTokenTypes.LEFT_PAREN, ClojureTokenTypes.RIGHT_PAREN ->
5353
(element.parent.parent as? ClojureFile)
54-
?.takeIf { it.elementType == ClojurePsiElement.FILE }
5554
?.let {
5655
holder.newSilentAnnotation(HighlightSeverity.TEXT_ATTRIBUTES)
5756
.textAttributes(DefaultLanguageHighlighterColors.BRACES)

0 commit comments

Comments
 (0)