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

Missing scope and style settings for highlighting capture groups in .sublime-syntax files #267

Closed
Serega124 opened this issue Nov 28, 2019 · 1 comment
Milestone

Comments

@Serega124
Copy link

For syntax test highlighting the package has syntax_test.highlight_scope and syntax_test.highlight_styles settings:

scope = get_setting('syntax_test.highlight_scope', 'text')
styles = get_setting('syntax_test.highlight_styles', ['DRAW_NO_FILL'])

These settings are present in PackageDev.sublime-settings. But relevant settings for capture group highlighting are missing:
scope = prefs.get('syntax_captures_highlight_scope', 'text')
styles = prefs.get('syntax_captures_highlight_styles', ['DRAW_NO_FILL'])

So I don't know which scope used for highlighting captures and how to style it in my color scheme.

@FichteFoll
Copy link
Member

FichteFoll commented Nov 28, 2019

Thanks for the heads up. Since they haven't been exposed in the default settings file yet, I'm going to rename those to have a dot for namespacing. You can, however, already use these settings by these names you referenced.

@FichteFoll FichteFoll added this to the 3.2.15 milestone Nov 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants