peerapats / atom-language-gherkin

Gherkin language support for Atom
26 stars 18 forks source link

Incorrect highlighting inside quotes #16

Open Nxt3 opened 6 years ago

Nxt3 commented 6 years ago

If I have:

I should see a status of '<Status>', an event type of '<Event Type>'

then the words , an event type of are highlighted as if they are quoted--which, they aren't; this is only present when the quotes are preceded by a comma.

Screenshot of what I mean. It looks like you're just not escaping the quotes correctly when a , is present.

screen shot 2018-02-16 at 11 03 12 am

Also, the scope for that is spelled incorrectly. It should be string.single.quote.gherkin instead of string.single.qoute.gherkin.