Fork me on GitHub
#vim
<
2018-05-23
>
nate03:05:32

cool! nice to see clj-refactor.nvim working

nate03:05:42

I had difficulty getting it working before, but the latest works

nate03:05:57

I echo the issues that were recently raised

nate03:05:05

but crml is worth it all

dave13:05:17

crml is a good one

dave13:05:29

i think i've been getting the most mileage out of crcn (clean namespace)

dave13:05:38

also cram (add missing libspec)

dominicm13:05:11

crcn is my jam

dave14:05:48

i was already a compulsive namespace requires alphabetizer, now crcn does it for me 🙂

dave14:05:08

i only wish it vertically aligned the :as and :refer parts

dave14:05:20

but that's a matter of preference

dominicm14:05:36

I think there's a bit of work to help it handle #?(:cljs :clj) too.

dominicm14:05:45

if you were looking to contribute 😉

dave15:05:56

i was pondering contributing 🙂

dave15:05:08

i'd be curious to look into adding some of the missing features

dave15:05:19

(in my copious free time, which i have practically none of lol)

dominicm15:05:20

Mine is a little stretched right now, trying to tame my home life which is a little neglected right now.

dave15:05:39

it can be tough to find the balance

dave15:05:11

i have 1-year-old twin boys, so time management has been extremely important to me 😅

👍 8
dave15:05:47

so, how hard is it to implement these refactor commands? does the nrepl middleware do most of the work?

dominicm15:05:28

@oonceanu refactor provides info about locals, and var definition locations, things like that. Refactor uses rewrite-cljs (it's basically a zipper for clojure code) to update the code accordingly.

dominicm15:05:44

Apparently @dave is not @dave

dominicm15:05:07

I don't even know anymore slack, sort it out.

dave15:05:56

i've noticed weird issues with @-mentioning not working sometimes too. seems like the order of actions re: when you hit enter is important. which is dumb

dominicm15:05:26

I had a message that you're not in the channel ¯\(ツ)

dave15:05:46

...whoa. there are two daves here. whaaat?

dominicm15:05:47

@oonceanu is not the same as @dave

dominicm15:05:54

(hover over them)

dominicm15:05:31

This is part of their transition to display names or something I guess.

dave15:05:09

ok, whatever, slack ㄟ( ・ө・ )ㄏ

dominicm15:05:54

The code manipulation = our job. Grabbing info = refactor-nrepl's job.

dominicm15:05:25

The hard work is done by refactor-nrepl imo.

dave15:05:14

yeah, that sounds like it would be pretty easy to get a hold of

dave15:05:37

complaint filed, btw 😄

dominicm15:05:26

Twitter is only for complaining to companies about their shit

dominicm15:05:57

(see my tweet history for truth of this)

dave15:05:11

it's better than a traditional complaint form because other users can RT you and make you feel validated 😄

dominicm15:05:25

and the company responds quicker due to the public humiliation

dave15:05:36

yep, another perk