emmet-atom
emmet-atom copied to clipboard
Does not work with twig synthax
Using This twig synthax highlighter, emmet does not work :(
any updates ?
Telling “something doesn’t work” isn’t helpful. Plese describe what you are doing and what you expect to see
Well I do not know how describe with details, while atom use html-twig synthax, any emmet feature works like writing .pod
and press tap does not work.
When I change the synthax highlight to html, everything works fine, but I expect that emmet could work with html-twig synthax highlights as it does on sublime text.
Hope it's more clear
writing .pod and press tap does not work.
https://github.com/emmetio/emmet-atom#tab-key
@sergeche thanks, it worked well ! (sorry for the miss in the doc)
If Emmet doesn't work with your twig file, Atom might be parsing it incorrectly. Install the Atom package: 'reesef/php-twig' or similar, and Atom will give you Emmet functionality in e.g. 'randomfilename.html.twig'
Hi , i've tried all solutions explained here and emmet don't expand abbreviations in txt.html.twig files, even using 'reesef/php-twig' or overiding key-bidings for twig grammar. If i change grammar for source.nunjuck emmet works ...so i'm not sure if it's really a problem with emmet.
i've tried others twig language packages and it's the same, abbreviation expand is not triggered…