Fork me on GitHub

@dominicm @jacek.schae nice podcast about vim!

❤️ 8

this was the last one when it comes to editors!


yes, very much appreciated!


Is it normal to have lag while typing in a Clojure buffer? I'm using clj-async-omni with asyncomplete (also tried coc.nvim) and have this issue with both. I thought they were asynchronous so wouldn't have this effect..?


I have that too


I've been meaning to dig in, but I think there's something slow/sync in fireplace

👍 4

I can't seem to get support for stuff like :Doc using Clojurescript/vim-fireplace. When I try to use it, I get Unable to resolve var: special-doc in this context at line 1 cljs/user.cljs. Meanwhile, just using clj files, it works fine. Anyone familiar with such a setup? Also, bindings like cpp for sending stuff to the REPL do work.


Do you have piggieback? Fireplace needs it for clojurescript

Jan K00:10:29

I think this happens when cider-nrepl dependency isn't set up properly


I do have Piggieback, but maybe I didn't set it up correctly for Fulcro? deps.edn:

{:deps        {com.fulcrologic/fulcro {:mvn/version "3.0.1"}}

 :aliases     {:dev {:extra-deps      {org.clojure/clojurescript {:mvn/version "1.10.520"}
                                       thheller/shadow-cljs      {:mvn/version "2.8.52"}
                                       binaryage/devtools        {:mvn/version "0.9.10"}
                                       cider/piggieback          {:mvn/version "0.4.1"}}}}}
{:deps      {:aliases [:dev]}
 :nrepl     {:port 9000}

 :dev-http  {8000 "resources/public"}

 :builds    {:main      {:target        :browser
                         :output-dir    "resources/public/js/main"
                         :asset-path    "/js/main"
                         :dependencies  [[cider/piggieback "0.4.1"]
                                         [fipp "0.6.21"]]
                         :repl-options  {:nrepl-middleware [cider.piggieback/wrap-cljs-repl]}

                         :modules       {:main  {:init-fn app.client/init}}
                         :devtools      {:after-load app.client/init
                                         :preloads    [com.fulcrologic.fulcro.inspect.preload]
                                         :repl-pprint true}}}}
I have fiddled around with these combinations a bunch, I'm sure something is not quite right.

Jan K13:10:38

Do you have [cider/cider-nrepl "0.22.4"] in your profiles.clj?

Jan K13:10:08

Actually I see you're not using leiningen, so never mind about profiles.clj. cider-nrepl should probably be somewhere though.