AdamNiederer/ng2-mode

set indentation to 2

Closed this issue · 3 comments

It seems the current indentation level is set to 4. How do I set it to 2? Customize seems to show a default of 2, but I get a default of 4. I'm using prelude. Don't know if that makes any difference.

I figured it out after a lot of flailing around. But now I see a new problem. Will open another ticket.

I've got the same issue. How did you solve it?

You can customize typescript-indent-level, or sgml-basic-offset to change your indentation preferences for HTML and Typescript files.