Fork me on GitHub
#vim
<
2019-10-26
>
borkdude12:10:09

@dominicm @jacek.schae nice podcast about vim!

❤️ 8
jacekschae12:10:20

this was the last one when it comes to editors!

sogaiu12:10:10

yes, very much appreciated!

thiru21:10:38

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..?

dominicm21:10:49

I have that too

dominicm21:10:09

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

👍 4
sheluchin21:10:29

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.

thiru23:10:51

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

sheluchin10:10:58

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"}}}}}
shadow-cljs.edn:
{: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.