parinfer 2018-08-20

@daveliepmann has left the channel

the indentation suggestion is from codemirror, not parinfer

parinfer accepts different indentation prefs from the editor (2-space vs first arg aligning)

(bar   1 
     2)

I can see the desire to have parinfer correct this state

parinfer only knows how to preserve indentation relative to the position of its parent open-paren

I’ve been tracking this request as “indentation stickiness”

I called it “sticky” because of the behavior this would cause in the case: 1.

(foo bar
   baz)
2. delete foo:
(| bar
   baz)
3. type “something”:
(something| bar
            baz)

my point is—the user originally had two space indentation, but will end up with first-arg aligned indentation if parinfer tries to involve itself with indentation preferences not related to structure