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

Some of curly braces should not be formated #4

Open
blacksheepaul opened this issue Dec 23, 2021 · 1 comment
Open

Some of curly braces should not be formated #4

blacksheepaul opened this issue Dec 23, 2021 · 1 comment

Comments

@blacksheepaul
Copy link

blacksheepaul commented Dec 23, 2021

Before format:
image

After format:
image

and some text is missing after formated.

here's text: access_log /data/other/nginx_logs/${server_name}_${server_port}_access.log main;

@blacksheepaul blacksheepaul changed the title Formate error Some of curly braces should not be formated Dec 23, 2021
@ahmadalli
Copy link
Owner

This issue comes from the underlying formating logic and can also be reproduced on https://nginxbeautifier.github.io/. There are other issues with formatting which is why I recommend using another extension for formatting: https://github.com/ahmadalli/vscode-nginx-conf?tab=readme-ov-file#formatting

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

2 participants