In codemirror v5 i used this font https://github.com/tonsky/FiraCode
Ligatures were shown by default in v5 like lambda arrow → showed a s symbol
In v6 ligatures are not shown
this is with codemirror v6
this code i used to set font
EditorView.theme({
$: {
color: "white",
backgroundColor: background,
"& ::selection": { backgroundColor: selection },
"& *": {
fontFamily: "Fira Code",
fontVariantLigatures: "common-ligatures",
},
caretColor: cursor
}, { dark: true })