Skip to content

Commit

Permalink
[ mlpolyr ] Fix variable highlight
Browse files Browse the repository at this point in the history
  • Loading branch information
ice1000 committed May 6, 2019
1 parent 9d5aae3 commit 6f52483
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
1 change: 1 addition & 0 deletions res/META-INF/change-notes.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
0.2.3<br/>
<ul>
<li>MLPolyR color settings page and special highlights</li>
<li>MLPolyR symbol kind recognition, icons for completion</li>
</ul>
0.2.2<br/>
<ul>
Expand Down
2 changes: 1 addition & 1 deletion res/colorSchemes/MLPolyR_dark.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</option>
<option name="ML_POLY_R_VARIABLE_CALL">
<value>
<option name="FOREGROUND" value="a9b7c6"/>
<option name="FOREGROUND" value="c6aabc"/>
</value>
</option>
<option name="ML_POLY_R_VARIABLE_DECL">
Expand Down
5 changes: 0 additions & 5 deletions src/org/ice1000/tt/psi/mlpolyr/mixins.kt
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@ abstract class MLPolyRCbbPatMixin(node: ASTNode) : MLPolyRGeneralPat(node), MLPo

abstract class MLPolyRNamePatMixin(node: ASTNode) : MLPolyRGeneralPat(node), MLPolyRNamePat {
override fun visit(visitor: (MLPolyRNamePat) -> Boolean) = visitor(this)
override val kind: SymbolKind
get() = when (parent) {
is MLPolyRFunction -> SymbolKind.Function
else -> SymbolKind.Unknown
}
}

abstract class MLPolyRGeneralPat(node: ASTNode) : GeneralNameIdentifier(node), IPattern<MLPolyRNamePat> {
Expand Down

0 comments on commit 6f52483

Please sign in to comment.