githubnext / githubnext/monaspace
More granular options to ss01 and alternatives for (== and != and === and !==)
- Lingua principale
- Shell
- Stelle
- 19.6k
- Fork
- 322
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
The `ss01` option includes these ligatures seemingly inspired by Fira Code's `liga`:
- `==` becomes a wide equal sign with no visible gap
- `!=` adds a slash across this `==`
- `===` becomes a stack of three dashes
- `!==` adds a slash across this `===`
I was never fond of this, as it makes `=` and `==` less distinguishable and obfuscates the meaning of `===`. Thankfully, Fira Code offers an alternative via `ss08`:
- `==` merges somewhat but retains a small gap
- `!=` adds a slash across this `==` but the gap remains noticeable
- `===` merges somewhat but retains small gaps
- `!==` adds a slash across the middle `=` of this `===`
It would be nice if these were also available in Monaspace.
That said, this draws attention to a bigger issue: `ss01` includes many unrelated ligatures that you wouldn't want enabled in all contexts. For instance, the substitutions for `!~`, `~~`, `=~` and `~~` would make no sense in languages where `~` is the binary inverse operator, yet you can't leave them out if you want to enable the substitutions for `!=` and `!==`.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Start by reviewing the existing ss01 substitutions listed in the issue and compare them with Fira Code's ss08 behavior. Determine how the ==, !=, === and !== alternatives could be exposed independently from unrelated !~, ~~ and =~ substitutions. Done means the requested alternatives and more granular selections are available in Monaspace without forcing unrelated ligatures.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Ambito
- design
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100