PHP-Twig.tmbundle
PHP-Twig.tmbundle copied to clipboard
Weird syntax autocomplete bug when adding a curly brace inside html tags
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>
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!
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...