File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/kotlin/com/emberjs/glint Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -56,10 +56,10 @@ class GlintLanguageServiceProvider(val project: Project) : JSLanguageServiceProv
5656
5757 override fun isHighlightingCandidate (file : VirtualFile ) = file.fileType is HbFileType || file.fileType is JavaScriptFileType || file.fileType is TypeScriptFileType || file.fileType is GtsFileType
5858
59- override fun getService (file : VirtualFile ) = if (descriptor.isAvailable(file)) return GlintTypeScriptService .getInstance(project) else null
59+ override fun getService (file : VirtualFile ) = if (descriptor.isAvailable(file)) GlintTypeScriptService .getInstance(project) else null
6060
6161 override val allServices: List <GlintTypeScriptService >
62- get() = if (descriptor.isAvailable()) listOf (GlintTypeScriptService .getInstance(project)) else emptyList()
62+ get() = if (descriptor.isAvailable(null )) listOf (GlintTypeScriptService .getInstance(project)) else emptyList()
6363}
6464
6565
You can’t perform that action at this time.
0 commit comments