This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-11-04
Channels
- # beginners (46)
- # boot (65)
- # cider (8)
- # cljs-dev (5)
- # cljsrn (4)
- # clojure (50)
- # clojure-conj (2)
- # clojure-france (1)
- # clojure-greece (18)
- # clojure-russia (8)
- # clojure-spec (39)
- # clojure-uk (36)
- # clojurescript (36)
- # clr (16)
- # component (2)
- # cursive (6)
- # datascript (3)
- # datomic (31)
- # devcards (2)
- # editors-rus (1)
- # emacs (15)
- # events (2)
- # figwheel (1)
- # funcool (24)
- # garden (3)
- # hoplon (22)
- # instaparse (15)
- # leiningen (3)
- # luminus (4)
- # om (59)
- # onyx (24)
- # overtone (1)
- # pedestal (3)
- # planck (18)
- # prelude (1)
- # protorepl (2)
- # re-frame (5)
- # rum (1)
- # sql (1)
- # uncomplicate (1)
- # untangled (66)
- # vim (18)
- # yada (4)
@snoe my clojure operators and objects work there, which usually cover most of my needs, otherwise I use a scratch buffer or similar.
@ingvij is it possible to expose the current buffer's namespace through acid right now? (like fireplace#ns()
)
acid will use user
whenever ns
isn't specified, so it'll always make use of already require
d data.
a bit less than https://github.com/tpope/vim-fireplace/blob/master/plugin/fireplace.vim#L561 😮 the fireplace code was a bit too dense for me to port. Would it be worth exposing path_to_ns
as a @neovim.function
?`
Well, it does a bunch more actually.. I'm ok with exposing that as a function, but why simply not import it?
I see.. Then it'll probably be trickier to implement a command
or a handler
, if that's the case
@dominicm as of now, there is no proper way, but I can probably have a handler to call a vim function/command with the returning data from the repl.. That'd be pretty straightforward and would solve the problem for handlers
command
s are just a quick way to bind a vim command to a functionality (that will ultimately be handled by a handler
). That can surely be circumvented by wrapping a user command around AcidSendNrepl
.
That should probably work as I think about it. I think. Can you register anonymous functions in node host as a callback?
not really, but I think maintaining state for message ids in flight and dispatching accordingly in a generic handle_message
function would be doable