php-twig icon indicating copy to clipboard operation
php-twig copied to clipboard

This is a conversion of Anomareh / PHP-Twig.tmbundle for atom

Results 19 php-twig issues
Sort by recently updated
recently updated
newest added

Inside a Twig/HTML file, the following code breaks all following code’s highlighting: ``` {% include "FoobarBundle:Foo:bar.css.twig" %} ``` (If anybody wonders why the styles are loaded into the template, this...

When I try to escape two opening curly braces with the [recommended method](http://twig.sensiolabs.org/doc/templates.html#escaping), everything gets a bit screwy. ![twig](https://cloud.githubusercontent.com/assets/874743/20913176/99118f52-bb43-11e6-977b-1722be393554.png) Everything after that is off and the closing '}}' is still...

Hi this shows as all commented (see screenshot) but Twig does not seem to work like that.. It will uncomment on the first `#}` ``` php {# this is commented...

[![https://gyazo.com/5a3e673da04ed65a51f1c28eb404d925](https://i.gyazo.com/5a3e673da04ed65a51f1c28eb404d925.png)](https://gyazo.com/5a3e673da04ed65a51f1c28eb404d925)

Hi, A little snippet for add the useful dump feature :+1:

`,` is not scoped in code such as: ``` {% do assets.add('theme://js/captionate.js', 108) %} ``` It seems to me that is should be `punctuation separator`. No?

`(` and `)` are not scoped in code such as: ``` {% set url = (base_url ~ pagination.params ~ page.url)|replace({'//':'/'}) %} ``` It seems to me they should be `punctuation...

The php-twig setting let me set the indent size, but it seems as if the indent style is forced to spaces? Is that true? Is there a way for me...

A [review of the commits history](https://github.com/reesef/php-twig/commits/master) suggests this project has been forked and now maintained at: https://github.com/Ener-Getick/php-twig Am I incorrect? If not, I hope I save others some time with...