This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-07-01
Channels
- # 100-days-of-code (2)
- # beginners (83)
- # calva (3)
- # cider (98)
- # clara (3)
- # clj-kondo (2)
- # clojure (84)
- # clojure-dev (59)
- # clojure-europe (11)
- # clojure-italy (22)
- # clojure-madison (4)
- # clojure-nl (3)
- # clojure-spec (24)
- # clojure-uk (80)
- # clojurescript (33)
- # clr (3)
- # datomic (59)
- # events (2)
- # fulcro (20)
- # interop (35)
- # jobs (6)
- # jobs-rus (1)
- # joker (3)
- # kaocha (2)
- # luminus (3)
- # off-topic (16)
- # other-languages (2)
- # pathom (17)
- # planck (2)
- # reagent (1)
- # shadow-cljs (1)
- # test-check (1)
- # tools-deps (49)
- # vim (16)
I'm giving auto-complete with fireplace a spin via vim-mucomplete. One downside appears to be that the first time you type, you get locked for a few seconds while fireplace tries to establish a connection.
is establishing a connection always that slow for you? for me it is about 100ms if the server is already running
Also noticed that occasionally when using piggieback, my typing will re-lock up - I'm guessing due to the completion also.
nvim is snappy for me too. I'm using scriptease's :Time call fireplace#client()
if you want to compare apples to apples
Something that will have an effect on the omnicomplete this way is starting a nashorn REPL in cljs files.
Hmm, you're right that it's 0.159s for the fireplace#client() call. I must have been in cljs land and not paying enough attention (and the seconds were for nashorn)
Aha! I know what it is. It's because cider is lazily loaded now. When cider eventually loads, it takes 15s or so. My first :Eval (+ 2 2)
takes much longer than subsequent ones when restarting nvim and re-evaluating.
yeah i've noticed that too, but :Time Eval (+ 2 2)
for me is about 800ms. 15s is bonkers
plus i think a big chunk of that is loading pretty print which shouldn't happen for completion. :Time call fireplace#message({'op': 'eval', 'code': '(+ 2 2)'})
is just 200ms. :Time call fireplace#message({'op': 'complete', 'ns': 'user', 'symbol': 'd'})
is about 500ms