Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Clean up grammar source #2 #412

Closed
wants to merge 1 commit into from
Closed

Clean up grammar source #2 #412

wants to merge 1 commit into from

Conversation

MaximSokolov
Copy link
Contributor

Continuation of #407

@Alhadis
Copy link
Contributor

Alhadis commented Aug 23, 2016

Uh, please don't. I've literally just fixed a bug with matching this:

var instance = new obje$ct.Cla$ss();

Code looks like this now:

    'match': '(new)\\s+([\\w$]+[\\w.$]*)'
    'name': 'meta.class.instance.constructor'
    'captures':
      '1':
        'name': 'keyword.operator.new.js'
      '2':
        'name': 'entity.name.type.instance.js'
        'patterns':[
          {
            'match': '\\.'
            'name': 'meta.delimiter.property.period.js'
          }
        ]

@MaximSokolov
Copy link
Contributor Author

👍

@MaximSokolov MaximSokolov deleted the cleanup branch August 23, 2016 08:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants