Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Babashka integration? #5

Open
Olical opened this issue Jul 23, 2020 · 2 comments
Open

Babashka integration? #5

Olical opened this issue Jul 23, 2020 · 2 comments

Comments

@Olical
Copy link
Contributor

Olical commented Jul 23, 2020

How about :Bb or :Babashka (I'm open to suggestions here) to start up a bb process with an nREPL on a random port with the port written to .nrepl-port? Then all Vim / Neovim Clojure tooling can just hook into that seamlessly 😄

(I am planning on doing this but thought I'd put it out in the open first to get feedback)

@SevereOverfl0w
Copy link
Member

I've been thinking about this too. Although one problem is that there's no middleware right now, so the biggest value (plugins providing the list of middleware) is not provided. But it certainly stops you from needing to know some details.

@Olical
Copy link
Contributor Author

Olical commented Jul 23, 2020

Yeah, good point, the middleware is great, maybe that's something that could be added (one day in the future if bb ever supported something extra and injectable like this). One thing this could provide over regular bb in a shell is that it picks a good nREPL port for you and writes it to a file. IIRC The Borkmeister himself decided not to do those parts which is completely fair, it leaves it up to you which is great. We could provide those "sensible" (in this context) defaults for seamless Clojure + (Neo)vim plugin integration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants