@eraserhd interesting, so these larger characters should count as two?
(foo "text" (bar
baz))
I suppose it depends on how they’re displayed in monospace
Yeah, interesting question, isn't it?
if they’re consistent in displaying two characters wide in monospace fonts, I think the change should be made
and i wonder if firacode users see any similar problems with ligatures
I know Vim displays wide characters in two cells, which freaked me out first time I saw it.
I think firacode should be fine, since the indentation never changes with the ligatures (I used to use it all the time).
E.g. a three-character ligature is three monospaced characters wide.
@eraserhd thanks, i’ll track this in a github issue, do you have details on what text
is? just special unicode characters that are somehow double wide?
http://unicode-rs.github.io/unicode-width/unicode_width/index.html has some useful info, including a link to a Unicode annex.
I haven't figured out all the details yet, but the rust port fails on compound characters also, so I'm going to fix that first. (see https://github.com/eraserhd/parinfer-rust/issues/26 )