-
Notifications
You must be signed in to change notification settings - Fork 145
Indentation problem with switch statements #93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for the bug report. I will take a look |
+1 |
1 similar comment
+1 |
Changes in #107 will format your code snippet like this: let foo = {
name: 'hello'
};
foo.title = 'Hello';
if (true) {
let bar = {};
let correctIndentation = {};
}
switch(foo.name) {
case 'hello':
let bar = {};
let wrongIndentation = {};
break;
default:
break;
} If you get chance to test it, that would be great. |
I tested it. This issue is fixed. I recommend closing it. |
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I have encountered a problem when indenting a ts file with
ggVG=
. The indentation seems to be broken within switch statements.Thanks a lot for your plugin!
The text was updated successfully, but these errors were encountered: