rholdos / vscode-twig-language-support

Extensions for VS Code - complete support for Twig language v3
MIT License
6 stars 0 forks source link

Typo in snippets for block and apply tags #3

Closed mhlozek closed 2 years ago

mhlozek commented 2 years ago

When I use block snippet I get a code:

{% block 'name' %}

{% endblock 'name' %}

I think there should be no quotation marks around block name.

The same problem could at apply tag.

Could you add endblock and endembed snippet please?

rholdos commented 2 years ago

Thanks for opening the issue.

  1. Snippets for block and apply tags are now fixed.
  2. Also added snippets for closing tags, including endblock and endembed.

Check out new version 1.0.1.

mhlozek commented 2 years ago

Great! Thank you very much.