File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
src/org/intellij/clojure/devkt Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,10 @@ class Clojure<TextAttributes> : ExtendedDevKtLanguage<TextAttributes>(
46
46
C_PAREN1 , C_PAREN2 -> colorScheme.parentheses
47
47
C_BRACE1 , C_BRACE2 -> colorScheme.braces
48
48
C_BRACKET1 , C_BRACKET2 -> colorScheme.brackets
49
+ // ClojureHighlightingLexer.CALLABLE -> pack(ClojureColors.CALLABLE)
50
+ C_KEYWORD -> colorScheme.keywords
51
+ // ClojureHighlightingLexer.CALLABLE_KEYWORD -> pack(ClojureColors.CALLABLE, ClojureColors.KEYWORD)
52
+ // ClojureHighlightingLexer.QUOTED_SYM -> pack(ClojureColors.QUOTED_SYM)
49
53
else -> null
50
54
}
51
55
Original file line number Diff line number Diff line change @@ -81,8 +81,10 @@ class ClojureParserUtil {
81
81
82
82
@JvmStatic
83
83
fun nospace (b : PsiBuilder , l : Int ): Boolean {
84
- if (space(b, l)) b.mark().apply { b.tokenType; error(" no <whitespace> allowed" ) }
85
- .setCustomEdgeTokenBinders(WhitespacesBinders .GREEDY_LEFT_BINDER , WhitespacesBinders .GREEDY_RIGHT_BINDER )
84
+ if (space(b, l)) {
85
+ b.mark().apply { b.tokenType; error(" no <whitespace> allowed" ) }
86
+ .setCustomEdgeTokenBinders(WhitespacesBinders .GREEDY_LEFT_BINDER , WhitespacesBinders .GREEDY_RIGHT_BINDER )
87
+ }
86
88
return true
87
89
}
88
90
You can’t perform that action at this time.
0 commit comments