On 19.01.2011, at 10:25, Henrik Bjornskov wrote: > Vim doesnt do this aswell so you would have to write a autocmd for highlight > for all template renderes that you can come across to get highlighting. > > Besides the content inside the file you are editing is not HTML XML JSON etc. > it is twig or php or smarty (tpl) and the file extension should reflect that. > There is no need to change the way the editors work because some here thinks > its the best thing. Also the WTF factor of this for newcommers will be far > more wierd than having the format template auto choosen
Well my twig templates actually have mostly non twig tags. But I did mention the issue before we did the rename. Its just that usually if someone adds twig support to an IDE it will also support inlined other relevant formats like html/js etc but not the other way around. Like the html highlighting will not trigger twig highlighting, unless the IDE supports manually configuring "twig.html" to use a different highlighting than "html". regards, Lukas Kahwe Smith [email protected] -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en
