monaspace icon indicating copy to clipboard operation
monaspace copied to clipboard

Add ligature for `/**`

Open marvinruder opened this issue 1 year ago • 5 comments

Monaspace offers a ligature for the character sequence /*, which looks good on its own, but when typing /** to start e.g. a Javadoc or JSDoc comment, only the first two characters get replaced by the ligature, the last asterisk remains unchanged and is now on a different height than the first one:

image

This does not look too aesthetically pleasing. Any chance we might find a ligature for the entire /** in a future version of Monaspace?

marvinruder avatar Nov 09 '23 21:11 marvinruder

They are used quite extensively in the PHP world as well.

Ayesh avatar Nov 10 '23 07:11 Ayesh

I encountered the same problem and had to remove dlig to make it look better

iwangbowen avatar Nov 13 '23 01:11 iwangbowen

I had to remove dlig and ss07 to make it look better

techieshark avatar Nov 13 '23 11:11 techieshark

Maybe this belongs in a separate issue, but the sequence **/ also comes up and would benefit from its own ligature as well:

Screenshot 2023-11-13 at 12 16 30 PM

pvanb avatar Nov 13 '23 17:11 pvanb

Maybe this belongs in a separate issue, but the sequence **/ also comes up and would benefit from its own ligature as well:

@pvanb, I have captured this as a separate issue (#122) as there appear to be a few unusual patterns that occur when using globs.

kieran-ryan avatar Nov 16 '23 00:11 kieran-ryan

Fixed in ca8015b

idan avatar May 03 '24 23:05 idan