This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-10-17
Channels
- # alda (5)
- # bangalore-clj (1)
- # beginners (9)
- # bigdata (1)
- # boot (51)
- # carry (1)
- # cider (9)
- # cljs-dev (22)
- # clojars (39)
- # clojure (118)
- # clojure-brasil (1)
- # clojure-czech (8)
- # clojure-france (2)
- # clojure-italy (5)
- # clojure-korea (9)
- # clojure-russia (9)
- # clojure-spec (17)
- # clojure-uk (42)
- # clojurescript (48)
- # core-async (1)
- # emacs (3)
- # figwheel (1)
- # funcool (3)
- # hoplon (39)
- # klipse (51)
- # lein-figwheel (4)
- # leiningen (2)
- # luminus (5)
- # off-topic (245)
- # om (18)
- # onyx (19)
- # parinfer (1)
- # pedestal (18)
- # re-frame (47)
- # reagent (19)
- # ring-swagger (1)
- # specter (18)
- # untangled (93)
- # vim (8)
- # yada (56)
@snoe I was trying to figure out how to reformat the threading forms automatically, but I don't think my use of mark-position
worked. Any guidance on where to put it / how to do it?
so by default after a transform, the final transform position is automatically marked, https://github.com/clojure-vim/clj-refactor.nvim/blob/master/src/clj_refactor/main.cljs#L61 mark-position
should really only be used when modifying a different top-level form than the cursor's.
So I think thread-sym
https://github.com/clojure-vim/clj-refactor.nvim/blob/master/src/clj_refactor/transform.cljs#L152 could end with a z/up
(pointing to the form containing the thread-sym
) (and the recur
in thread-all
adjusted if necessary https://github.com/clojure-vim/clj-refactor.nvim/blob/master/src/clj_refactor/transform.cljs#L167)