Fork me on GitHub
#parinfer
<
2016-03-08
>
jasongilman01:03:46

I just created a gist describing my Atom setup including Parinfer. It fixes the indentation issues that were discussed earlier in #C03S1L9DN https://gist.github.com/jasongilman/d1f70507bed021b48625#file-my_atom_clojure_setup-md

shaunlebron03:03:55

thanks @jasongilman for putting that together

shaunlebron03:03:16

I’ll look at how lisp-paredit handles that

shaunlebron05:03:08

lisp-paredit uses paredit.js for its auto-indentation

shaunlebron05:03:36

it parses the entire file for the AST before determining the indentation of a line

shaunlebron05:03:58

it’s not configurable, but it’s inline with the clojure style guide afaict

shaunlebron05:03:13

some folks prefer two-space indentation for nearly everything though

cfleming08:03:56

@shaunlebron: previewCursorScope looks nice

cfleming08:03:09

I’d make that the default unless there’s weirdness at the edges.

shaunlebron17:03:40

I think the only weirdness is trying to insert a comment on an empty line