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

"ignore missing" in include tag gets removed. #78

Open
f-elix opened this issue Mar 15, 2021 · 1 comment
Open

"ignore missing" in include tag gets removed. #78

f-elix opened this issue Mar 15, 2021 · 1 comment

Comments

@f-elix
Copy link

f-elix commented Mar 15, 2021

I want to include a template using ignore missing like so:

{% include 'template-name' ignore missing %}

but the plugin removes it when I format the code.

I haven't seen any options for this, and no past issue seems to mention it. Am I missing something or is this really a bug?

I am currently working around this problem by telling Prettier to ignore the line, but it would be nice to have this allowed by the plugin.

Thanks for your great work, I love this plugin!

@renestalder
Copy link

It seems, in fact, to be removed, yes. Just hit the same wall.

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