bram209 / leptosfmt

A formatter for the leptos view! macro
Apache License 2.0
274 stars 30 forks source link

Bug: Indentation doesn't match with rest of code due to using tabs #29

Closed BlackAsLight closed 1 year ago

BlackAsLight commented 1 year ago

Since I am using tabs instead of spaces, it is counting the number of tabs I have before view! and inserting that many spaces as a min before further indentation. The problem is that one tab is not equal to one space so my tags are too far to the left.

BlackAsLight commented 1 year ago

For one reason or another this no longer seems to be a problem. It's aligning itself properly with spaces even though the rest of the code uses tabs.