Skip to content

Commit

Permalink
Fixes emmetio#491 No expand when css abbr ends with : (emmetio#492)
Browse files Browse the repository at this point in the history
Thank! Please note that this is an obsolete version of Emmet, I’m working on a new version now: https://www.npmjs.com/~emmetio

PS: still no response from VSCode devs regarding my last email about MS support for new Emmet 😔
  • Loading branch information
ramya-rao-a committed Apr 2, 2017
1 parent c8eb99f commit 4fce82e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/resolver/css.js
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,7 @@ define(function(require, exports, module) {
}

if (!snippet) {
if (!abbrData.property) {
if (!abbrData.property || abbrData.property.endsWith(':')) {
return null;
}
snippet = abbrData.property + ':' + defaultValue;
Expand Down

0 comments on commit 4fce82e

Please sign in to comment.