Open Axel-Shark opened 4 years ago
Should work out of the box. But syntax highlight might be getting in the way. Try on a plaintext file or inside a comment
same here, on vscode.
except that <--
works
Fair play. This is using Fira Code light (v4) on Windows 10. Notepad: these are extended with n-length: <-, <--, <--- R Studio: they also appear with n-length in R Notebook and R Markdown. In R Script and R Console, only <- has ligatures, where anything longer shows up as unconnected hyphens.
In R Studio, as far as I know, there's only a single font parameter which is set globally. The font face in R Script and R Console do look like Fira Code light, so perhaps it's an issue with how Script and Console treat ligatures.
I'm using the current version of RStudio and notice that the only hyphenated arrow combination is <-; <-- and <--- do not render as arrows of length n-hyphens.
I noticed this with Fira Code 3. I just wiped all existing Fira font files and did a clean instead of Fira Code 4. Same result.
Should this be activated by default or do I need to a tweak a setting somewhere?