Fork me on GitHub
#vim
<
2018-06-17
>
Hukka11:06:14

@eraserhd Is there a way to make rust-parinfer always leave empty lines without whitespace as well? When it combines lines of closing pars, it seems to always move just the pars, and not eliminate the redundant whitespace

👍 8
Hukka11:06:26

In those particular cases I think it would make sense to remove the line completely, as otherwise it's creating more empty lines between sections

👍 8
eraserhd10:06:51

Let me see if I can look into this next week. It might be a bit more complicated, since I don't want to change lines the user hasn't edited, but I think I can do something.

Hukka11:06:53

@eraserhd Also it seems that it gets mixed up with non-ascii chars that have more than one bytes in utf-8...:

(def äää {:foo 1
             :bar 2})

(def aaa {:foo 1
          :bar 2})

Hukka11:06:12

Hm, but that's rather a real issue and not a question, so I'll go make an issue

Hukka12:06:25

I googled a bit more and found https://denisbider.blogspot.com/2015/09/when-monospace-fonts-arent-unicode.html. These things make me want to close my eyes and ears and walk away...