Skip to content

Commit 36c9238

Browse files
committed
fix
1 parent d6a9868 commit 36c9238

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ dependencies {
3535
// and https://www.jetbrains.com/intellij-repository/snapshots/
3636
// https://plugins.jetbrains.com/plugin/6884-handlebars-mustache/versions/stable
3737
intellijPlatform {
38-
plugins(listOf("com.dmarcotte.handlebars:242.21829.3"))
38+
plugins(listOf("com.dmarcotte.handlebars:243.21565.122"))
3939
bundledPlugins(listOf("JavaScript", "com.intellij.css", "org.jetbrains.plugins.yaml"))
4040
pluginVerifier()
4141
zipSigner()

src/main/kotlin/com/emberjs/glint/GlintLanguageService.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import com.intellij.lang.javascript.integration.JSAnnotationError
2020
import com.intellij.lang.javascript.integration.JSAnnotationError.*
2121
import com.intellij.lang.javascript.psi.JSFile
2222
import com.intellij.lang.javascript.psi.JSFunctionType
23+
import com.intellij.lang.javascript.service.JSLanguageService
2324
import com.intellij.lang.javascript.service.JSLanguageServiceProvider
2425
import com.intellij.lang.parameterInfo.CreateParameterInfoContext
2526
import com.intellij.lang.typescript.compiler.TypeScriptService
@@ -60,8 +61,8 @@ class GlintLanguageServiceProvider(val project: Project) : JSLanguageServiceProv
6061

6162
override fun getService(file: VirtualFile) = allServices.firstOrNull()
6263

63-
override fun getAllServices() =
64-
if (EmberUtils.isEnabledEmberProject(project)) listOf(GlintTypeScriptService.getInstance(project)) else emptyList()
64+
override val allServices: List<GlintTypeScriptService>
65+
get() = if (EmberUtils.isEnabledEmberProject(project)) listOf(GlintTypeScriptService.getInstance(project)) else emptyList()
6566
}
6667

6768

0 commit comments

Comments
 (0)