mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
closure folding is like that of anonymous classes, not lambdas
This commit is contained in:
+1
-1
@@ -237,7 +237,7 @@ public class GroovyFoldingBuilder implements FoldingBuilder, GroovyElementTypes,
|
||||
}
|
||||
|
||||
if (node.getElementType() == CLOSABLE_BLOCK) {
|
||||
return settings.isCollapseLambdas();
|
||||
return settings.isCollapseAnonymousClasses();
|
||||
}
|
||||
|
||||
if (node.getElementType() == CLASS_BODY) {
|
||||
|
||||
Reference in New Issue
Block a user