Add More Options to Configure Italicization #185
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Before this commit, it was possible to enable italicization of strings and comments. This seems fairly arbitrary as users (myself included) may want to choose settings other than these. For instance, some other themes use italicization to separate keywords, or other language-specific patterns. While this may not be of interest to everyone, it seems reasonable to allow it to be configurable.
This patch therefore introduces the following configuration options:
g:gruvbox_italicize_statements
g:gruvbox_italicize_conditionals
g:gruvbox_italicize_repeats
g:gruvbox_italicize_label
g:gruvbox_italicize_exceptions
g:gruvbox_italicize_keywords
If this is an acceptable change, I'm happy to also update the wiki documentation to match.