githubnext / githubnext/monaspace
More granular options to ss01 and alternatives for (== and != and === and !==)
- Lenguaje dominante
- Shell
- Estrellas
- 19.6k
- Forks
- 322
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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 `!==`.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Comienza revisando las sustituciones ss01 existentes enumeradas en el issue y compáralas con el comportamiento ss08 de Fira Code. Determina cómo podrían exponerse de forma independiente las alternativas para ==, !=, === y !==, separadas de las sustituciones no relacionadas !~, ~~ y =~. Se considera terminado cuando las alternativas solicitadas y selecciones más granulares estén disponibles en Monaspace sin forzar ligaduras no relacionadas.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Área
- design
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Tranquilo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100