conjure

:neovim:+:clj: https://github.com/Olical/conjure - If you're enjoying Conjure and want to say thanks: https://github.com/users/Olical/sponsorship :smile: (alt https://conjure.fun/discord)
emilaasa 2021-05-27T07:11:00.079100Z

xmap <leader>f <Plug>(coc-format-selected)

Eugene Tyurin 2021-05-28T23:43:52.094600Z

Hmmm... it looks like coc.nvim fights with deoplete.nvim

dharrigan 2021-05-27T07:33:02.079400Z

I use clojure-vim <https://github.com/clojure-vim/clojure.vim>

dharrigan 2021-05-27T07:33:17.079800Z

and just use the regular built-in formatting options in vim

emilaasa 2021-05-27T07:42:51.080200Z

Interesting - that's in vim by default?

dharrigan 2021-05-27T07:44:21.080600Z

basically just = or gq

dharrigan 2021-05-27T07:44:26.080800Z

<https://www.cs.swarthmore.edu/oldhelp/vim/reformatting.html>

emilaasa 2021-05-27T07:45:03.081100Z

Have you had any luck with parinfer or similar in vim?

dharrigan 2021-05-27T07:45:11.081500Z

I use parinfer-rust

dharrigan 2021-05-27T07:45:17.081700Z

it keeps things aligned too

dharrigan 2021-05-27T07:45:24.081900Z

for me, it works really really well.

emilaasa 2021-05-27T07:46:26.083Z

Interesting, I had a behavior where the "undo-stack" got up to about 2k very quickly when I did normal (well normal for me) editing

harryvederci 2021-05-27T12:44:26.085300Z

Yeah I've had that as well. You could try :earlier 1m in that case?

dave 2021-05-27T13:16:46.085400Z

I've used :earlier to get out of binds like this before. It's a super useful trick to know.

dharrigan 2021-05-27T13:44:43.085600Z

TIL

emilaasa 2021-05-27T13:47:41.086200Z

@mail089 That's a good one yeah, thanks for reminding me

emilaasa 2021-05-27T14:32:20.086600Z

Btw you guys are super duper nerds, I love it. (That's a compliment)

1
dharrigan 2021-05-27T14:58:54.086900Z

:partywombat:

walterl 2021-05-27T15:04:18.087400Z

(select-keys m
             [:a :b :c])
Moving m to new line:
(select-keys
 m
 [:a :b :c])
Changing select-keys to do (macro with body):
(do
  m
  [:a :b :c])

walterl 2021-05-27T15:04:48.087800Z

No fiddling with lispwords or g:clojure_special_indent_words

2021-05-27T19:06:09.088Z

[Olical/conjure] Issue opened by Diskriminantti