File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
src/main/kotlin/com/emberjs/gts Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -126,6 +126,7 @@ class GjsLanguage(): GtsLanguage(JS, "Gjs") {
126126
127127class GtsFile (viewProvider : FileViewProvider ? , val isJS : Boolean =false )
128128 : JSFileImpl (viewProvider!! , isJS.ifTrue { GjsLanguage .INSTANCE } ? : GtsLanguage .INSTANCE ) {
129+
129130 override fun getFileType (): FileType {
130131 return isJS.ifTrue { GjsFileType .INSTANCE } ? : GtsFileType .INSTANCE
131132 }
@@ -791,7 +792,9 @@ class GtsIndexedFileTypeProvider : IndexedFileTypeProvider {
791792 override fun getFileTypesToIndex (): Array <FileType > = arrayOf(GtsFileType .INSTANCE )
792793}
793794
794- val NoWrap = Wrap .createWrap(WrapType .NONE , false ).apply { ignoreParentWraps() }
795+ val NoWrap by lazy {
796+ Wrap .createWrap(WrapType .NONE , false ).apply { ignoreParentWraps() }
797+ }
795798
796799
797800// wrapper to patch JsBlocks to include outer language block into JSAssignmentExpression and JSVarStatement
You can’t perform that action at this time.
0 commit comments