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

File tree expands too much 😄 #89

Open
DeznekCZ opened this issue Aug 27, 2022 · 1 comment
Open

File tree expands too much 😄 #89

DeznekCZ opened this issue Aug 27, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@DeznekCZ
Copy link

DeznekCZ commented Aug 27, 2022

Steps to reproduce:

Used in example image:

<% authorized = authorized ? true : false; %>
<% if (authorized) { %>
    <% let originalSelector = selector; %>
    <% selector = { type: 'undefined' }; %>
    <% selector = originalSelector; %>
<% } %>
<html>
</html>

Expected result:

image

Question

Can be tags:

  • contianing no '{' '}' or pair of them marked as single line tags like <br>
  • matching <% .* { %> as open tags
  • matching <% } %> as close tags

I may be helpfull for closing of parent elements.

@Betanu701
Copy link
Member

@DeznekCZ Do you know how to force this within a language grammar? There were a few pull requests I just pulled in. See if those fixes this, I don't think it would though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants