This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-08-24
Channels
- # announcements (26)
- # babashka (9)
- # beginners (63)
- # calva (2)
- # chlorine-clover (22)
- # cider (2)
- # cljsrn (8)
- # clojure (36)
- # clojure-europe (36)
- # clojure-italy (5)
- # clojure-nl (76)
- # clojure-spec (9)
- # clojure-uk (8)
- # clojurescript (39)
- # conjure (24)
- # cursive (19)
- # data-science (1)
- # datascript (10)
- # datomic (1)
- # emacs (2)
- # events (5)
- # figwheel-main (9)
- # fulcro (21)
- # graalvm (1)
- # helix (5)
- # jobs (1)
- # jobs-discuss (1)
- # kaocha (1)
- # leiningen (4)
- # meander (2)
- # off-topic (22)
- # re-frame (16)
- # reitit (3)
- # rewrite-clj (75)
- # rum (1)
- # sci (51)
- # shadow-cljs (110)
- # tools-deps (16)
- # vrac (9)
- # xtdb (23)
Little trick I just found (in my own thing, hah): let g:conjure#relative_file_root = "./"
Now I just :cd ...
into which ever repo or module I'm working in that contains a .nrepl-port
file and hit ,cf
then I can ,ef
even though I'm working with something in a docker container.
Basically I didn't expect ./
to work as a sort of "resolve all file paths relative to my current directory" like this. Was a pleasant surprise!
As soon as I get that feature in where it auto connects on eval without a connection it should be even better.
Where can I get help with Neovim and vim-plug? I have used the following steps to try and install conjure but it seems that the plugin has not downloaded. I am unsure which directory the plugins are supposed to install to, so it maybe I missed that.
https://gist.github.com/jr0cket/6c475137ee57fbb14f9289bd76889512
This is my first time using neovim and vim-plug, so assume I know nothing (except how to quit vim).
I've also run the interactive :ConjureSchool
tutorial using the curl -fL
command. It launches okay and I can evaluate (school.lesson-1)
using the key binding , e b
. The buffer says my <localleader> wasnt configured, so it was set to ,
by default.
:help conjure-mappings
displays an error: E149: Sorry, no help for conjure-mappings
So I am guessing something is broken or missing with my neovim and/or vim-plug config but its not clear where to start debugging this.
And wrt the mappings, I guess you don't have a localleader set right now? I tried to make it set a default for you (,) but maybe that's not working :thinking_face: I don't think I've had any feedback from others relying on it yet. So it could be wrong!
But yeah, vim-plug does nothing stateful until you tell it to. So the config is more instructions than anything, like a deps.edn
. :PlugInstall
and the other :Plug*
commands are what actually download / update / clean your plugins out
Then when you restart neovim it'll load up whatever plugins vim-plug has placed on the path.
I totally missed :PlugInstall
so its no wonder nothing was working π More things are happening now I have run it.
conjure (or at least jack-in) seems to be working as its just found a bug in my ~/.clojure/deps.edn
file (its a real bug too). Things are looking very promising.
Exciting to see you in Conjure land, even if it's for a little delve for information βΊοΈ
REPL server started on port... it works. Now I have to learn how to use Conjure π I'd like to add a specific vim based guide to the Clojure tools section of Practicalli Clojure and Conjure seems to be the best approach.
I may be asking more questions in the very near future. I see there is a lot of useful info on the github repo and on discord. Just want to create an essentials guide (or link to one) so people can get going quickly
I still have a lot to learn about conjure and neovim. There are a lot of tools I regularly use that I would like to have before being comfortable using Neovim, so more plugins seem to be in my future (as well as a nice theme) and learning how to split windows / switch buffers...