This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # aleph (7)
- # announcements (3)
- # babashka (29)
- # beginners (70)
- # calva (5)
- # cider (14)
- # clara (3)
- # clj-kondo (25)
- # cljs-dev (2)
- # clojure (237)
- # clojure-conj (3)
- # clojure-europe (6)
- # clojure-italy (14)
- # clojure-nl (4)
- # clojure-uk (40)
- # clojurescript (29)
- # clojurex (1)
- # code-reviews (2)
- # cursive (3)
- # datascript (1)
- # fulcro (11)
- # graalvm (4)
- # graphql (12)
- # jackdaw (1)
- # jobs (1)
- # joker (22)
- # london-clojurians (1)
- # off-topic (132)
- # re-frame (38)
- # rewrite-clj (11)
- # shadow-cljs (200)
- # spacemacs (1)
- # sql (67)
- # tools-deps (15)
Hello guys! Has anyone some tips for using Joker with Repl in vim/neovim?
joker --repl localhost:3333 but when I do
:connect 3333 in Neovim (vimr) it freezes up the editor and exit the repl
I don't know anything about Neovim/vimr, but I do know (since I implemented) that Joker is opening up a socket REPL (sREPL) there, not a network REPL (nREPL), which Joker doesn't (yet) support. Is it possible Neovim/vimr is expecting an nREPL?
maybe. i'll dig into that
is prepl supported?
I'll try to research it later; my first discovery (having never heard of a pREPL before) is this: https://www.reddit.com/r/Clojure/comments/b4b4xn/clojure_socket_prepl_cookbook/
fwiw, this is the lastest by the same: https://oli.me.uk/clojure-prepl-for-tool-authors/
now i'm trying this other plugin for neovim -> conjure https://github.com/Olical/conjure
but i couldn't figure out how to make it work with Joker
anyone using vim/neovim + joker here?
@gleisonsilva there is a bit about joker and conjure in: https://oli.me.uk/getting-started-with-clojure-neovim-and-conjure-in-minutes/
@sogaiu: That's about a workflow that involves using Joker as a linter. I think @gleisonsilva wants to be able to use Joker as his REPL. I don't think it'll work unless Joker adds pREPL support (@gleisonsilva has filed an issue asking for Conjure to support socket REPLs but I think that would introduce substantial complexity and expect it will be rejected). I think the short answer is that there's no way to do it.
i found this: https://github.com/jebberjeb/clojure-socketrepl.nvim - but perhaps #vim might be a good place to inquire
hey guys! tks for the replies. as a workaround, I'm using a
:terminal running Joker Repl inside Neovim and a plugin to send the selected line/form to it... it works well for now.
@gleisonsilva Conjure needs a prepl. Chlorine (for Atom) supports socket REPLS (and even have explicit support for Joker), so if you want to test it, I'll be glad to help 🙂
Hi, @U3Y18N0UC! How r u? I really need gives Atom+Chlorine a try... my love for Vim keeps holding me, yet 😉
Help me develop https://github.com/mauricioszabo/clematis, it uses the same machinery as Chlorine then 😉
oh man.. i really wish i could... maybe when i manage do get some vacation 😞
@U0K064KQV I do on Clojure, but there's a fallback for repls that don't support it. So far, Joker does not