Fork me on GitHub
#calva
<
2019-01-23
>
claynon10:01:00

does the paredit strict mode only work with the overloaded commands? i.e, can it identify any delete/kill command and act on that or do we need to implement a version of these commands on calva-paredit in order for strict mode be applied? use case: killing a line that contains the beginning of a sexp, but not the whole sexp

(-> :a |
str
other-fn)
if I delete the line (given where the cursor is) the parentheses will be unbalanced

mseddon10:01:43

@claynon that's correct, yes. only the paredit commands are paredit aware

mseddon10:01:35

it may be possible to do a better job of strict mode there, although I actually have a better paredit implementation in the works which doesn't get confused by e.g. comments and strings, so I'll probably take a look once that's in.

claynon12:01:47

cool, thanks