AdamNiederer / ng2-mode

Angular Support for Emacs
GNU General Public License v3.0
73 stars 11 forks source link

set indentation to 2 #3

Closed CharlesIrvineKC closed 7 years ago

CharlesIrvineKC commented 7 years ago

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.

CharlesIrvineKC commented 7 years ago

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

skormel commented 7 years ago

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

AdamNiederer commented 7 years ago

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