Skip to content

Commit dd52fcf

Browse files
committed
fix build
1 parent a9b3a7a commit dd52fcf

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/main/kotlin/com/emberjs/gts/GtsSytaxHighlighter.kt

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,14 @@ import com.intellij.psi.tree.TokenSet
2020
import javax.swing.Icon
2121

2222

23-
object GtsLanguage : Language() {
24-
val INSTANCE: GtsLanguage = GtsLanguage()
23+
class GtsLanguage : Language("Gts") {
24+
companion object {
25+
val INSTANCE = GtsLanguage()
26+
}
2527
}
2628

2729
internal object SimpleIcons {
2830
val icon: Icon = IconLoader.getIcon("/icons/jar-gray.png", SimpleIcons::class.java)
29-
@Nullable get() {
30-
return SimpleIcons.field
31-
}
3231
}
3332

3433
class GtsLexerAdapter : FlexAdapter(GtsLexer(null)) {

0 commit comments

Comments
 (0)