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

Add scoped settings #265

Merged
merged 7 commits into from
Oct 21, 2014
Merged

Add scoped settings #265

merged 7 commits into from
Oct 21, 2014

Conversation

kevinsawicki
Copy link
Contributor

Adds editor settings for each grammar.

screen shot 2014-10-20 at 1 12 22 pm

/cc @benogle

Fixes #264

@hide()
for grammar in @getPackageGrammars()
continue unless grammar.scopeName
scopeName = ".#{grammar.scopeName}" unless grammar.scopeName[0] is '.'
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good idea, need to get that in my flow.

Copy link
Contributor

Choose a reason for hiding this comment

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

Also, if the scopename starts with a . the scopeName var wont get set.

@benogle
Copy link
Contributor

benogle commented Oct 20, 2014

Looks good.

Do you want to update the post? Or do you want me to do that?

@kevinsawicki
Copy link
Contributor Author

I can update

kevinsawicki added a commit that referenced this pull request Oct 21, 2014
@kevinsawicki kevinsawicki merged commit e19ab3c into master Oct 21, 2014
@kevinsawicki kevinsawicki deleted the ks-scoped-settings branch October 21, 2014 21:29
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.

Add scoped settings for each grammar
2 participants