-
-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
squint-cljs nrepl eval file failing #613
Comments
Thanks for the report! If squint has it's own reader conditional key then we could use that but if not maybe we need to make the I'll try to look at this soon! |
Looking into this some more now and squint doesn't seem to have any sort of equivalent for I think you'll need to use |
Thank @Olical, for the time being I've been using I still wonder if the |
Hmm does squits REPL support that op too? 🤔 if so, we could use that. Not sure about changing the underlying op in Conjure though. This fees like it'll actually be useful for eval buffer. Right now we ask the REPL to load the file from disk, that way if you're working on a remote machine you get the file from that remote host. You don't need it on your local host where Neovim lives. If we went down the load-file route for Conjure for eval buffer and file we could do the same op for both but eval file reads the contents from disk and eval buffer reads from the currently loaded buffer inside Neovim. If both work very well, in more scenarios and don't break anyone's workflow / environment it could be a nice change. |
I think I also designed |
Here's the docs on it for future me or anyone who wants to implement it on the |
Hello there. I've been experimenting with squint-cljs and everything is working well expect the evaluation of the whole file.
Here is the output when pressing
<localleader>ef
If I understand correctly this is the code that will eventually send the nrepl message to the server
conjure/fnl/conjure/client/clojure/nrepl/action.fnl
Lines 241 to 243 in 6d2bc7f
The problem is that squint-cljs is not ClojureScript 😅 and does not ship with
cljs/clojure
namespaces.The solution could be another client, but since all other evaluation methods are working, I wonder if using nREPL's
load-file
could be a solution that works for all nREPL clojure-like languages.The text was updated successfully, but these errors were encountered: