<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi all,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I am looking for a solution to my problem with C struct in place initialization doesn't use tabs when UseTab = Always.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Namely, having a snippet like so:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><div class="gmail_default">struct typ {</div><div class="gmail_default">» int x;</div><div class="gmail_default">» float f;</div><div class="gmail_default">};</div><div class="gmail_default"><br></div><div class="gmail_default">static const struct typ data = {</div><div class="gmail_default"><b> .x = 1,</b></div><div class="gmail_default"><b> .f = 0.1f,</b></div><div class="gmail_default">};</div><div class="gmail_default"><br></div><div class="gmail_default">int main() {}</div><div class="gmail_default"><br></div><div style="font-size:small"><br></div></div><div class="gmail_default" style="font-size:small">I will get lines with initialization not indented with tabs but with spaces instead even though I have UseTab set to Always.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">1) Is there a solution for this ATM?</div><div class="gmail_default" style="font-size:small">2) If not then where in the code can I look for the relevant snippet so that I can fiddle with configuration /changing the behavior ?</div><div><div class="gmail_signature"><div dir="ltr">
<div><br></div><div>kind regards,<br></div><div>Patryk Małek</div><div><br></div><div><br></div></div></div></div>
</div>