Implement naming conventions in Ruby grammar by chbk · Pull Request #291 · atom/language-ruby · GitHub
Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Implement naming conventions in Ruby grammar - #291

Open
chbk wants to merge 2 commits into
atom:masterfrom
chbk:scopes
Open

chbk wants to merge 2 commits into
atom:masterfrom
chbk:scopes

Conversation

@chbk

@chbk chbk commented Jan 30, 2021 •

Copy link
Copy Markdown
Contributor

Description of the Change

This is a rewrite of the Tree-sitter grammar to implement naming conventions for syntax scopes.

Benefits

  • Many new scopes added to make the grammar explicit and exhaustive.
  • Notable improvements on punctuation, keywords and support functions.
  • Highlighting to be consistent with other languages.

Possible Drawbacks

Some new scopes to be added to themes. The changes aim to facilitate theme development, filling the template is enough to ensure coherent highlighting across languages, instead of painfully creating styling rules for every language separately.

Applicable Issues

Related Pull Requests

@chbk

chbk commented Jan 30, 2021

Copy link
Copy Markdown
Contributor Author

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.

1 participant