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

How to exclude <literallayout> blocks from being indented? #691

Closed
robp-tw opened this issue Apr 3, 2022 · 3 comments · Fixed by #703
Closed

How to exclude <literallayout> blocks from being indented? #691

robp-tw opened this issue Apr 3, 2022 · 3 comments · Fixed by #703

Comments

@robp-tw
Copy link

robp-tw commented Apr 3, 2022

When I format XML content with this extension activated/configured, it indents <literallayout> blocks. This is not advantageous, as it results in indented content where there should be none. Is there a setting to turn this off or some kind of (un)documented workaround? Thanks much!

@angelozerr
Copy link
Contributor

Today it's not possible but it should be nice to provide this feature.

@angelozerr
Copy link
Contributor

I'm working on experimental formatter at eclipse-lemminx/lemminx#1195 and I think I could support this feature.

@angelozerr
Copy link
Contributor

angelozerr commented Jun 29, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants