This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-10-14
Channels
- # announcements (9)
- # beginners (49)
- # calva (26)
- # cider (6)
- # clj-kondo (17)
- # cljsjs (1)
- # cljsrn (2)
- # clojure (72)
- # clojure-europe (5)
- # clojure-france (8)
- # clojure-greece (1)
- # clojure-italy (5)
- # clojure-nl (9)
- # clojure-spec (49)
- # clojure-uk (17)
- # clojuredesign-podcast (13)
- # clojurescript (137)
- # cursive (15)
- # data-science (1)
- # datomic (55)
- # duct (2)
- # emacs (5)
- # figwheel-main (11)
- # fulcro (11)
- # graphql (1)
- # hoplon (1)
- # instaparse (1)
- # jobs (12)
- # jobs-rus (1)
- # leiningen (1)
- # nrepl (34)
- # nyc (2)
- # off-topic (1)
- # onyx (1)
- # pedestal (1)
- # re-frame (6)
- # reitit (3)
- # remote-jobs (1)
- # shadow-cljs (196)
- # sim-testing (1)
- # spacemacs (9)
- # sql (1)
- # vim (70)
- # xtdb (31)
Fireplace always asks me for a host or port despite there being an .nrepl-port
file β is this normal?
Ah, I am doing that
Is there something like Emacsβ *messages*
buffer that I could inspect to understand what is happening (& maybe not working) in the background?
fwiw, most things will :echo
on failure, or if you're lucky :echom
and be present in :messages
Well, for instance Iβm trying to get https://github.com/guns/vim-clojure-highlight to work but calling :ClojureHighlightReferences
doesnβt do anything
Nothing happens in the background with that. I believe it broke a while ago, I thought someone sent in a PR though.
I mean by background I meant whatever happens after I hit enter π
(i.e. not a background process)
https://github.com/guns/vim-clojure-highlight/blob/master/autoload/vim_clojure_highlight.vim#L26-L27 π
they're silenced because this plugin runs on an autocmd, so they don't want to spit out messages in a number of cases. Not sure it totally makes sense π
do you use regular vim syntax highlighting? Iβm finding it a littleβ¦ sparse?
yeah, similar. In Emacs things are a bit more nuanced. Can share a screenshot if that code is public?
https://github.com/juxt/edge/blob/master/examples/tutorial.vent/src/tutorial/vent/http_api.clj
does fireplace somehow maintain repl sessions when vim is restarted?
What do you mean by "repl session"? Since fireplace connects to a running nrepl, the state of that nrepl will be preserved across (n)vim restarts, as long as that nrepl keeps running. cc @U09LZR36F
also it seems that evaluations can still block editing/movement, is that expected / is there anything that can be done about that?
But yes, evaluations from commands/operations are synchronous. You could write a background variant too though.
Sessions aren't maintained iirc. But I'm not positive on that. It may store them in ShaDa
Interesting, I thought that was the whole point of NeoVim π
Neovim didn't magically make everything async though. It's up to plugins to use that in a way they see fit.
that makes sense I guess π thanks for the explanation!
and sorry for my blissful ignorance π
now using nvim in alacritty and everything is sooooo fast!
what do you use to enable folding?
Hmmm... Why would /
be included in word chars? https://github.com/guns/vim-clojure-static/blob/master/ftplugin/clojure.vim#L20
To the reader, sure. But are there any cases where you'd want to treat it as a single element when editing? Instead it has broken *
-searching of referred functions or library usages.
Also, it's easier to broaden your search to include multiple word
s, than it is to search for sub-`words`.
Could you ellaborrate on what that means, please? Do you mean fugitive only complets on full words
(the entire ns/atom
)?
Although, I must say it seems kinkda weird: in OO languages you have completion "across" non-`word` chars. I.e. when you press .
(a non-`word` char) you get completion based on the symbol before the .
. Why would the /
in Clojure work differently?
hey @martinklepsch! π on the subject of asynchronous evaluation, i have to plug https://github.com/Olical/conjure, a new plugin that's based around prepl connections. i've been using it for a while now and i love it. evaluation is asynchronous, and the results all go into a dedicated buffer
hi @dave π I saw that and initially played with it but Iβm using shadow-cljs and the connecting was a little to cumbersome
(or how I understood how it works anyways)
I can't get shadow-cljs' prepl to work, even through netcat π¬ I think once it's up Conjure will be fine. Also as far as async goes, it's async within your editor but only one eval happens at a time sequentially. It won't let you eval multiple things and return in the order they complete... for now anyway. (I'd love it if someone could point me to a minimal good shadow-cljs repo that I can prepl into through netcat!)