I know here are some answers already regarding this question, but unfortunately the answers are way too old or did not resolve the problem.
So here we go.
I have a simple Lua Grammar and all i want to get every Child Block indented by 1 tab. As you can see, as far as the parent is not the File itself, i want to get a normal Indent. The "return parent.getIndent();" was already a Indent.getNoneIndent() and null, always with the same result: nothing...
My FormattingBlock where the indentation is built, inherited from AbstractBlock:
PsiTree (CoronaBlockImpl(BLOCK) starting from the second layer should be indented):
and now the result i get from the indentation:
so can someone please explain to me, why this stuff is not indented as expected? As far as I have read through forums, Documentations and internets this should be correct?