mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
don't process open block inheritors in GroovyIndentProcessor
This commit is contained in:
+3
@@ -293,6 +293,9 @@ public class GroovyIndentProcessor extends GroovyElementVisitor {
|
||||
|
||||
@Override
|
||||
public void visitOpenBlock(GrOpenBlock block) {
|
||||
final IElementType type = block.getNode().getElementType();
|
||||
if (type != OPEN_BLOCK && type != CONSTRUCTOR_BODY) return;
|
||||
|
||||
if (myChildType != mLCURLY && myChildType != mRCURLY) {
|
||||
myResult = Indent.getNormalIndent();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user