parinfer-lua icon indicating copy to clipboard operation
parinfer-lua copied to clipboard

Incorrect indent for multi-byte characters

Open t-gebauer opened this issue 1 year ago • 0 comments

Multi-byte characters mess up indentation.

(λ foo [:bar
         :baz])

(λ foo [:bar]
        :baz)
> string.len("λ")
2

Same as this issue in parinfer-rust: https://github.com/eraserhd/parinfer-rust/issues/26 (Although parinfer-rust, seems to handle this correctly now.)

t-gebauer avatar Nov 11 '24 11:11 t-gebauer