Fork me on GitHub
#conjure
<
2020-08-24
>
Olical12:08:20

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.

πŸ‘ 3
Olical12:08:52

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!

Olical12:08:27

As soon as I get that feature in where it auto connects on eval without a connection it should be even better.

dharrigan16:08:19

You should that into a hints and tips section on the website πŸ™‚

πŸ‘€ 3
πŸ‘ 3
dharrigan16:08:50

but, looking forward to the auto connect πŸ™‚

practicalli-johnny17:08:23

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 | sh 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.

Olical17:08:51

wrt vim-plug, are you running :PlugInstall?

Olical17:08:50

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!

Olical17:08:18

Hmm, testing the school without a leader (`-u NONE`) and it sets it to comma for me.

Olical18:08:48

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

Olical18:08:01

Then when you restart neovim it'll load up whatever plugins vim-plug has placed on the path.

Olical18:08:10

(including conjure I hope!)

practicalli-johnny18:08:39

I totally missed :PlugInstall so its no wonder nothing was working πŸ™‚ More things are happening now I have run it.

practicalli-johnny18:08:05

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.

Olical18:08:13

Yay! Glad to hear it!

Olical18:08:22

I presume this is for a guide of some sort?

Olical18:08:43

Exciting to see you in Conjure land, even if it's for a little delve for information ☺️

practicalli-johnny18:08:02

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.

practicalli-johnny18:08:23

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

Olical18:08:07

That's so good! Thank you so very much! I appreciate every guide/post/doc massively

Olical18:08:18

I'll be more than happy to help out wherever possible

dharrigan18:08:29

Good to see neovim + conjure on Practicalli πŸ™‚

practicalli-johnny18:08:10

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...