Fork me on GitHub
#conjure
<
2021-05-21
>
Illia Danko09:05:24

Hello, glad to be here again. Have some question spinning in my head: before jump into conjure fully, does anyone who use it professionally (I believe someone is) has a link to an article or just share ideas here of: • how to setup conjure • which extra plugin to use (open clojuredoc, javadoc, format code, autocomplete (found coc-conjure)), autogen ns when visit a new buffer, etc • how to organize a productive workflow (both clj, cljs) Any suggestions are acceptable 😉 not necessary covered all the bullets

dave12:05:12

I use Conjure every day at work.

dave12:05:33

I didn't go into things like which extra plugins I use in that blog post - I was basically just describing how to get started with Conjure, what it can do, and the things that I like about it, including eval-at-mark.

Sigve06:05:16

I love parinfer, but it is sadly rendered useless for me due to the undo bug: https://github.com/eraserhd/parinfer-rust/issues/93. Do you experience it? If yes, do you have any workarounds to suggest?

dave10:05:19

Basically, I don't experience that problem anymore. But when I was experiencing it, it wasn't often because I am not in the habit of undoing more than a couple of times in a row.

Sigve10:05:06

Alright, thanks:) It is crucial in my workflow to test out silly things and then undoing my way back to the last stable state, which is why this bug is so inhibiting for me.

dharrigan12:05:56

I have my vimconfig online here which shows the plugins I use here . I think most people use the same 🙂

👍 2
dharrigan12:05:40

Is coc-conjure still needed, if one is using clojure-lsp I wonder?

dave13:05:37

I think they're complementary. I have both clojure-lsp and conjure as sources for autocompletion, etc.

dharrigan13:05:59

do they not conflict? Or what does coc-conjure give you that clojure-lsp doesnt?

dave13:05:14

coc-conjure is REPL-aware. clojure-lsp is solely based on static analysis.

dharrigan13:05:16

I'm always happy to whack in a few more plugins if I have FOMO! 🙂

dave13:05:37

I have it configured so that if they both provide the same value, I prefer Conjure's.

dharrigan13:05:47

So you have this set?

dharrigan13:05:52

Interesting. I must re-evaluate

dave13:05:04

"coc.source.conjure.priority": 999999 and "suggest.removeDuplicateItems": true

dharrigan13:05:06

Interestingly enough, I have those in my coc-settings too

dharrigan13:05:13

I must have removed coc-conjure at some point

Olical13:05:50

I personally use nvim-compe for completion these days but that's neovim 0.5+ only. I need to add first class support for it really, Tami has a repo that I'd like to integrate.

Olical13:05:57

I need to hop on the LSP train at some point 😅

Olical13:05:32

I want to keep out of LSP's domain as much as possible, use static analysis and lean on shared tooling for LSP stuff and Conjure fills in the gaps of live evaluation etc

dharrigan13:05:34

You know what, I do already use coc-conjure

dharrigan13:05:41

what threw me is the link to the repo

dharrigan13:05:45

of course, it's a coc extension!

dharrigan13:05:51

so I have it already installed via coc!

Olical13:05:34

I never liked that I had to think about JavaScript things for a vim plugin and I didn't like that I only wanted the completion, not the LSP bit.

Olical13:05:48

So it felt conflated? Compe is just completion which is all I wanted really

Olical13:05:13

*complected

Olical13:05:59

I think it's after 10 years of Clojure your hair goes all Hickey

Olical13:05:24

I'm yet to get myself a hammock too

dharrigan13:05:01

I'm nearly there. I've let my hair grow out, aka Covid Hair

dharrigan13:05:14

I'm naturally curly too 🙂

mamapitufo14:05:35

bookmarking all these config posts, I need to revisit mine : )

emilaasa15:05:19

Great ideas, I probably also should publish some dotfiles and a post but it's too much work in progress now 🙂

emilaasa15:05:38

Would probably help peoples self esteem if nothing else .. 🙂