zdharma-continuum / fast-syntax-highlighting

Feature-rich syntax highlighting for ZSH
BSD 3-Clause "New" or "Revised" License
1.06k stars 76 forks source link

[feat]: Italic style #55

Open 0xTadash1 opened 1 year ago

0xTadash1 commented 1 year ago

If the feature request is for a plugin or theme, specify it here.

fast-theme

If the feature solves a problem you have, specify it here.

In some syntax highlighting themes, some keywords (function, if, for...) are sometimes italicized. I edited my overlay.ini, thinking that with F-Sy-H's help I could easily display the same in the terminal. And unfortunately, I found that F-Sy-H does not support this yet. :cry:

Describe the proposed feature.

In the custom theme (overlay.ini), allow the use of italic in addition to styles such as bold and underline...

Describe alternatives you've considered

No response

Additional context

No response

Related Issues

No response

distor-sil3nt commented 8 months ago

It would be indeed really helpful if highlighting with italic font style would be possible. There are a lot of mono fonts that use italic highlighting to set apart reserved keywords and / or command names. Please consider implementing this feature as soon as possible!