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

[BUG] [Formatter] How can I avoid this indent situation #816

Open
3 tasks done
lukepass opened this issue Feb 6, 2024 · 0 comments
Open
3 tasks done

[BUG] [Formatter] How can I avoid this indent situation #816

lukepass opened this issue Feb 6, 2024 · 0 comments
Labels
🦠 bug Something isn't working 🧽 formatter

Comments

@lukepass
Copy link

lukepass commented Feb 6, 2024

System Info

  • OS: Ubuntu 20.04
  • Python Version (Python 3.8.10)
  • djLint Version (1.34.1)
  • template language: nunjucks / twig

Issue

Hello, how can I tell the formatter to indent when breaking a new line?

I would like to avoid this situation (green is after the formatter):

image

How To Reproduce

Have a tag / block with an indentation, the indentation is removed.

@lukepass lukepass added 🦠 bug Something isn't working 🧽 formatter labels Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🦠 bug Something isn't working 🧽 formatter
Projects
None yet
Development

No branches or pull requests

1 participant