You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
great theme. It would be great to also be able to specify the style (bold / italic) for text in the setup function.
It already works, if the given highlight group does not already have a specified style. However, if for example the following is passed to the setup function: highlight_groups = { ['@method'] = { bg = 'rose', style = 'bold'}, ... }
Here '@method' is already in italics. The result is, that '@method' will be both italic and bold.
Desired behavior:
The style specified by the user takes precedence over the preconfigured style.
The text was updated successfully, but these errors were encountered:
janislaus
changed the title
[Feature Request] Expand blend function to also deal with user specified style (bold / italics) setting
[Feature Request] Expand user config to also deal with user specified style (bold / italics) setting
Jan 7, 2023
Keep in mind that for the above example, a highlight group could be both @method and @variable – meaning @variable (which is italic by default) would also need overridden.
On a side note, you could disable all italics to begin with via disable_italics = true.
Hi,
great theme. It would be great to also be able to specify the style (bold / italic) for text in the setup function.
It already works, if the given highlight group does not already have a specified style. However, if for example the following is passed to the setup function:
highlight_groups = { ['@method'] = { bg = 'rose', style = 'bold'}, ... }
Here
'@method'
is already in italics. The result is, that'@method'
will be both italic and bold.Desired behavior:
The style specified by the user takes precedence over the preconfigured style.
The text was updated successfully, but these errors were encountered: