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

[Ruby] More specific language constant scopes. #2788

Merged

Conversation

Ultra-Instinct-05
Copy link
Contributor

@Ultra-Instinct-05 Ultra-Instinct-05 commented Apr 12, 2021

This PR assigns more specific scopes for boolean constants true & false from constant.language to constant.language.boolean & nil from constant.language to constant.language.nil constant.language.null.

Related PR's

  1. [JSON] More detailed constants scopes #2785

Ruby/Ruby.sublime-syntax Outdated Show resolved Hide resolved
jfcherng
jfcherng previously approved these changes Aug 17, 2021
deathaxe
deathaxe previously approved these changes Aug 17, 2021
@deathaxe
Copy link
Collaborator

@Ultra-Instinct-05 : Seems this needs some conflict resolving.

We need some push: after-constants.

This commit assigns more specific scopes for boolean constants `true` &
`false` from `constant.language` to `constant.language.boolean` & `nil`
from `constant.language` to `constant.language.nil`.
@Ultra-Instinct-05
Copy link
Contributor Author

@deathaxe I believe the conflict is resolved. Anyways, my first lesson in using git rebase & conflict resolution. 🙂

@deathaxe
Copy link
Collaborator

Thanks. For larger PRs with many commits it can be easier to just merge the master branch into the PR branch. Otherwise you might need to resolve conflicts for every second commit during rebase.

@deathaxe deathaxe merged commit f8a972b into sublimehq:master Aug 18, 2021
@Ultra-Instinct-05 Ultra-Instinct-05 deleted the specific_boolean_scopes branch August 18, 2021 08:28
Ultra-Instinct-05 added a commit to Sublime-Instincts/PackageDev that referenced this pull request Sep 17, 2021
This commit adds `boolean` & `null` to the `constant.language` scope
data. There were a few PR's regarding this.

1. sublimehq/Packages#2788
2. sublimehq/Packages#2785
3. sublimehq/Packages#2693
FichteFoll pushed a commit to SublimeText/PackageDev that referenced this pull request Oct 7, 2021
This commit adds `boolean` & `null` to the `constant.language` scope
data. There were a few PR's regarding this.

1. sublimehq/Packages#2788
2. sublimehq/Packages#2785
3. sublimehq/Packages#2693
mitranim pushed a commit to mitranim/Packages that referenced this pull request Mar 25, 2022
This commit assigns more specific scopes for boolean constants `true` &
`false` from `constant.language` to `constant.language.boolean` & `nil`
from `constant.language` to `constant.language.nil`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants