Skip to content

Conversation

@natebosch
Copy link
Member

Closes #95

Keep the dart_html_in_strings variable since it has behavior that
can't be changed with highlight groups.

Remove the dart_highlight_types and dart_corelib_highlight
variables. The behavior from setting these can be achieved by linking
specific highlight groups to Normal.

Move the lowercase "primitive" type names from dartCoreType to
dartSdkClass since they fit better alongside String. The ones
remaining in dartCoreType are still a "type", or at least often used
in a similar way, but have no class definition. When we add Never it
will be a dartCoreType.

Add a doc section that describes the highlight groups that are most
likely to be configured with an example of how to disable them.

Rename some groups from "core" to "sdk" since they are more broad than
the dart:core library. Use singular names for all highlight groups.

Adjust some spacing for better alignment within the syntax file.

Closes #95

Keep the `dart_html_in_strings` variable since it has behavior that
can't be changed with highlight groups.

Remove the `dart_highlight_types` and `dart_corelib_highlight`
variables. The behavior from setting these can be achieved by linking
specific highlight groups to `Normal`.

Move the lowercase "primitive" type names from `dartCoreType` to
`dartSdkClass` since they fit better alongside `String`. The ones
remaining in `dartCoreType` are still a "type", or at least often used
in a similar way, but have no class definition. When we add `Never` it
will be a `dartCoreType`.

Add a doc section that describes the highlight groups that are most
likely to be configured with an example of how to disable them.

Rename some groups from "core" to "sdk" since they are more broad than
the `dart:core` library. Use singular names for all highlight groups.

Adjust some spacing for better alignment within the syntax file.
Copy link
Member

@sigmundch sigmundch left a comment

Choose a reason for hiding this comment

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

Nice!

@natebosch natebosch merged commit ff46822 into master Dec 3, 2019
@natebosch natebosch deleted the non-variable-highlight-config branch December 3, 2019 23:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove config option for dart_highlight_types

4 participants