Revert nested indentation
This commit is contained in:
parent
35cf805237
commit
42bb512d93
|
@ -703,7 +703,10 @@ private:
|
||||||
{
|
{
|
||||||
if (parenDepthOnLine)
|
if (parenDepthOnLine)
|
||||||
{
|
{
|
||||||
indents.pop();
|
foreach (i; 0 .. parenDepthOnLine)
|
||||||
|
{
|
||||||
|
indents.pop();
|
||||||
|
}
|
||||||
indents.popTempIndents();
|
indents.popTempIndents();
|
||||||
}
|
}
|
||||||
parenDepthOnLine = 0;
|
parenDepthOnLine = 0;
|
||||||
|
|
|
@ -36,4 +36,19 @@ void f()
|
||||||
send(TextDocument.publishDiagnostics, new PublishDiagnosticsParams(uri, [
|
send(TextDocument.publishDiagnostics, new PublishDiagnosticsParams(uri, [
|
||||||
]));
|
]));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
foreach (x; map([
|
||||||
|
1,
|
||||||
|
2,
|
||||||
|
3,
|
||||||
|
]))
|
||||||
|
{
|
||||||
|
}
|
||||||
|
foreach (x; foo!(map!([
|
||||||
|
1,
|
||||||
|
2,
|
||||||
|
3,
|
||||||
|
])))
|
||||||
|
{
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,4 +35,19 @@ void f()
|
||||||
{
|
{
|
||||||
send(TextDocument.publishDiagnostics, new PublishDiagnosticsParams(uri, []));
|
send(TextDocument.publishDiagnostics, new PublishDiagnosticsParams(uri, []));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
foreach (x; map([
|
||||||
|
1,
|
||||||
|
2,
|
||||||
|
3,
|
||||||
|
]))
|
||||||
|
{
|
||||||
|
}
|
||||||
|
foreach (x; foo!(map!([
|
||||||
|
1,
|
||||||
|
2,
|
||||||
|
3,
|
||||||
|
])))
|
||||||
|
{
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,4 +31,17 @@ void f()
|
||||||
send(TextDocument.publishDiagnostics, new PublishDiagnosticsParams(uri, [
|
send(TextDocument.publishDiagnostics, new PublishDiagnosticsParams(uri, [
|
||||||
]));
|
]));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
foreach (x; map([
|
||||||
|
1,
|
||||||
|
2,
|
||||||
|
3,
|
||||||
|
])) {
|
||||||
|
}
|
||||||
|
foreach (x; foo!(map!([
|
||||||
|
1,
|
||||||
|
2,
|
||||||
|
3,
|
||||||
|
]))) {
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,4 +30,17 @@ void f() {
|
||||||
send(TextDocument.publishDiagnostics, new PublishDiagnosticsParams(uri, [
|
send(TextDocument.publishDiagnostics, new PublishDiagnosticsParams(uri, [
|
||||||
]));
|
]));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
foreach (x; map([
|
||||||
|
1,
|
||||||
|
2,
|
||||||
|
3,
|
||||||
|
])) {
|
||||||
|
}
|
||||||
|
foreach (x; foo!(map!([
|
||||||
|
1,
|
||||||
|
2,
|
||||||
|
3,
|
||||||
|
]))) {
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue