atuttle / atom-language-cfml

:space_invader: A CFML Language for the Atom Editor
38 stars 24 forks source link

half of "cfsetting" highlights #47

Closed ArtskydJ closed 9 years ago

ArtskydJ commented 9 years ago

capture

atuttle commented 9 years ago

I wonder if this is due to a sorted list of keywords, where cfsetting would need to come before cfset so that it could match first. I've seen the same problem with no/not, too.

tollus commented 9 years ago

What about adding a \b to the end of the capture or whitespace? so it needs to match completely?

'begin': '(<)((?i:(cfset)\\b))'

dajester2013 commented 9 years ago

@tollus I tried that locally, seems to correct the issue for me.

atuttle commented 9 years ago
apm publish patch
Preparing and tagging a new version ✓
Pushing v0.8.8 tag ✓
Publishing language-cfml@v0.8.8 ✓

New version published. Please report back whether or not this resolved the bug for you. :)

ArtskydJ commented 9 years ago

Fixed!