emmetio / Emmet.tmplugin

Emmet plugin for TextMate
http://emmet.io
97 stars 11 forks source link

TM2: abbreviation in HTML is expanded into CSS instead #9

Closed kaelig closed 6 years ago

kaelig commented 10 years ago

In an HTML file,

div.class

Is expanded into: display: .class;

Which makes Emmet unusable in TextMate 2.

Is there anything I can do?

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

hfc-tech-academy commented 10 years ago

I'm curious as to the status of this. Everything in html is expanding as css.

ul>li

Is becoming:

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    list-style: ;
elizabethyalkut commented 10 years ago

Same. TextMate Version 1.5.11 (1635), Emmet 1.0.

uanwar88 commented 9 years ago

I am also having the same problem. Have there been any fixes to this? It only happens after you save a new file with any extension. Emmet works as long as you don't save the file.

danealexander commented 8 years ago

I've had this problem when my html files are inside a folder that has 'css' in the name. For example html files inside a folder called 'css-concepts' will have this issue. Removing css from the folder name fixes the issue.

kaelig commented 6 years ago

Closing this as it's super old.