Fork me on GitHub
#vim
<
2019-07-12
>
zyxmn12:07:01

Is there a debug feature in vim like in cider

zyxmn12:07:28

I saw people using debug in spacemacs and cursive O_O

markwoodhall12:07:22

I think there are a number of ways but my experience was that vim-iced had a good OOB setup https://github.com/liquidz/vim-iced https://twitter.com/uochan/status/1034404572368842752

👍 4
dharrigan14:07:57

Here's another alternative: https://github.com/Olical/conjure

👍 4
markwoodhall14:07:27

I didn't realise that had debugger support now.

Olical15:07:53

Conjure doesn't, it's something I plan to add as a plugin once I add plugin support 😬

Olical15:07:02

I just use tap>

👌 4
idas18:07:50

I was trying out acid.nvim, but couldn't figure out how to get started: https://clojureverse.org/t/getting-started-with-acid-nvim-and-leiningen/4527 Has anyone had any prior experience with it (on the new 2.x version)?

idas18:07:02

just curious, is it possible to use Conjure via leiningen?

idas18:07:43

although that is different from what is mentioned at: https://oli.me.uk/2019-03-22-clojure-socket-prepl-cookbook/

Olical18:07:30

Yep, you can do although I haven't tried. You just need to start a socket prepl. The example where I start it from within Clojure (rather than from the command line arguments) should work for you!

Olical18:07:41

Oh wait, it's what I do at work. So, yes. It's totally possible!

idas18:07:48

so all i need to do is bascially invoke start-prepl!, and then do a :ConjureUp in nvim?

idas18:07:33

or do i have to add additional information inside a .conjure.edn in my leiningen project directory?

Olical18:07:07

Yep, you'll need to create a conjure.edn (the . is optional, depends on other config files in the same dir and your preference) with the chosen port inside it.

Olical18:07:36

You can also select a port at random, write that to a file and load that into your conjure.edn with the #slurp-edn reader macro. If that floats your boat.

Olical18:07:56

That's mainly for when you're using something like a plugin in boot or lein to start your prepl though where it'll pick a port for you and write it to a file.

Olical18:07:02

#conjure may be helpful for you too!

idas18:07:31

oh. didn't realize that channel existed! thanks so much for the tips!

Olical18:07:52

No problem! You're welcome.

Olical19:07:25

More fluid "installation to productive" user guides will exist at some point. I'm still churning away with internal things and features though, docs etc are one of the last things in my 1.0.0 plan right now because then it'll require a lot less re-writing. All of the info should be in the readme right now, it's just hard to parse all at once.

Olical19:07:50

I'm also doing other side project stuff and moving this month so time has been... limited.

dave19:07:26

i'm super impressed by all the work you've done, @olical! i'm grateful for the QOL improvements you've made for my clojure-in-vim experience!

Olical19:07:27

Thank you very much, I hope to keep them coming! I'm all about QOL with it since anything that annoys me at work goes straight into the todo list, dogfooding is useful.