Commit d0930c4
committed
Disable Fira Code ligatures in the Monaco editors
Fira Code's programming ligatures rewrote valid GraphQL into misleading
glyphs — `Int!=1` (a non-null `Int` defaulting to `1`) rendered as
`Int≠1`. Pass an explicit `font-feature-settings` string that turns
ligatures off but stays unequal to Monaco's OFF constant, so the
per-character caret measurement from the #4040 Windows fix is preserved.1 parent 3d13e7d commit d0930c4
2 files changed
Lines changed: 13 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
64 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
65 | 70 | | |
66 | 71 | | |
67 | 72 | | |
| |||
0 commit comments