Skip to content
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

Non-empty lines in multiline string interpolations without additional delimiters aren't indented #29

Open
AdamNiederer opened this issue Apr 16, 2022 · 0 comments

Comments

@AdamNiederer
Copy link

tsx-mode doesn't indent any lines within a multi-line string indentation:

`${
0
}`

js-mode and typescript-mode don't indent these cases either, but I'd personally expect it to be indented by one stop, to be consistent with multi-line string interpolations which start with a [, (, or {:

`${
  0
}`

`${(
  0
)}`

`${[
  0
]}`

`${{
  a: 0
}}`
@AdamNiederer AdamNiederer changed the title Non-empty lines in multiline string interpolations aren't indented Non-empty lines in multiline string interpolations without additional delimiters aren't indented Apr 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant