Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] introduce scopes #3837

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

[WIP] introduce scopes #3837

wants to merge 1 commit into from

Conversation

nightwing
Copy link
Member

implements mechanism described in #1227 (comment)

Copy link
Contributor

@fjakobs fjakobs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have much context on the feature but I am afraid that be break the API. We either have to bump the major version or remain backwards compatible

@@ -133,19 +133,17 @@ define(function(require, exports, module) {
{defaultToken: "string"}
]
}, {
regex: "[{}]", onMatch: function(val, state, stack) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a breaking change for all language modes. How do we communicate this?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do like how it simplifies the code

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is indeed a breaking change, we'll have to include this in v2 if we decide this is useful enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants