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

Weird syntax autocomplete bug when adding a curly brace inside html tags #62

Open
MaffooBristol opened this issue May 17, 2017 · 1 comment

Comments

@MaffooBristol
Copy link

Really struggling to write a sensical title for this one! Perhaps a gif will help better 😅

Expected:

<div class="thing-to-do">
  {{ something }}
  {{ title }}
</div>

Actual:

<div class="thing-to-do">
  {{ something }
  {{ title }}
  }
</div>

sublime-twig-bug

It seems to only do it on the first occurrence of trying to insert a new {{ }} before an existing one. Multiple lines works fine. Any ideas? Thanks!

@MaffooBristol
Copy link
Author

Also it seems it does the same thing with {% %} tags. Just any occurrence of { before another block. There are a few other places it does it too...

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

1 participant