conjure

2024-01-19T17:55:17.657239Z

Is there a way to configure autorepl to use vim-jack-in instead of babashka? I don't think babashka can load the project dependencies? The related config should be g:conjure#client#clojure#nrepl#connection#auto_repl#cmd, but not sure how to connect them.

2024-01-19T22:04:02.487529Z

I couldn't make it work, but I added a simple shortcut for vim-jack-in in the background if anyone is interested

{
        "<localleader>'",
        function()
          vim.cmd("Clj")
          vim.api.nvim_win_close(0, false)
        end,
        desc = "Jack-in",
      },

2024-01-19T23:46:17.254339Z

Found a better way that can be triggered by auto repl:

vim.g["conjure#client#clojure#nrepl#connection#auto_repl#cmd"] = vim.fn["jack_in#clj_cmd"]()

mjhika 2024-01-25T04:55:28.888639Z

that's pretty neat, i might use that

😊 1