codemirror6-plugin icon indicating copy to clipboard operation
codemirror6-plugin copied to clipboard

An Invalid Custom Snippet Breaks Other Snippets That Start with the Same Starting Name

Open chriscoyier opened this issue 1 year ago • 2 comments
trafficstars

Weird one for you here!

If you have custom snippets like this...

              config: {
                markup: {
                  snippets: {
                    foo: "invalid snippet",
                    // The above will break this VALID snippet below:
                    foo2: "button",
                  },
                },

It makes sense that foo doesn't work, because that's not a valid Emmet abbreviation. But just by being there, it makes the snippet foo2 not work either.

chriscoyier avatar Sep 09 '24 21:09 chriscoyier

Fixed in v.2.4.10 in emmet package yet unable to verify, npm says it’s not published yet. Cach you check if you’re able to install v.2.4.10?

sergeche avatar Sep 23 '24 08:09 sergeche

Should be fixed in v.0.3.4

sergeche avatar Sep 23 '24 10:09 sergeche

Confirmed fixed.

chriscoyier avatar Oct 08 '24 18:10 chriscoyier