Fork me on GitHub
#conjure
<
2020-06-20
>
Olical08:06:09

Is anyone else still having issues with the HUD background colour? Some themes seem to make it bright pink which isn't super readable. Conjure has no theme, so this is the Pmenu group, I wonder if I can create like a sub group that inherits from Pmenu so people can change the HUD background without changing their autocomplete popup :thinking_face:

Aron08:06:50

so the autocomplete popup can be bright pink still? : )

Olical08:06:59

Hah, good point, that is probably not what anyone wants. But they may want their autocomplete popup different to their Conjure HUD. Which really sounds like I'm talking myself into yet more work for something I'm not sure anybody wants... so I'll leave it for now.

Olical08:06:12

I just need to make it more obvious how you can change the background, I'm not setting it.

Olical09:06:29

Ohh, just discovered NormalFloat! :highlight NormalFloat ctermbg=black guibg=black

Olical09:06:32

That works for the HUD

Olical10:06:56

My new config approach feels quite a bit more discoverable!

👍 9
3
Olical11:06:13

[develop f716432] Rewrote all config, deleted session list mapping
 34 files changed, 389 insertions(+), 538 deletions(-)
 delete mode 100644 fnl/conjure/client/clojure/nrepl/config.fnl
 delete mode 100644 fnl/conjure/client/janet/netrepl/config.fnl
 delete mode 100644 lua/conjure/client/clojure/nrepl/config.lua
 delete mode 100644 lua/conjure/client/janet/netrepl/config.lua
😬 and more to do

Olical11:06:45

Plan is to get the old system working as a shim with a warning for a while too, so the update / develop shouldn't break your setup but push you towards the new one.

Olical11:06:55

There's a LOT less going on in the new config system so it should be easier to use.

Aron12:06:03

I just wish I could somehow nicely organize my vim config, but everywhere I look there are quite big ad-hoc, one man systems

Aron12:06:17

I am using stow for dotfiles btw, it's really nice

Aron12:06:38

but the organization inside vim would require me to get on the next level with vim

Olical12:06:48

You can just get away with a single init.vim file and all of your let g:... in there, then just add a bunch of comments to split things up. Some people add folding to their vimrc too which makes it quite easy to navigate.

Olical12:06:16

I have a whole custom system for dynamically loading files but that's just my thing that I developed over years as I saw the need. Keep it as simple as you want 🙂 I use stow too, it's great for dotfiles.

Aron12:06:10

I have a single init file but there is too much in it

Aron12:06:41

yeah, dotfiles, very convenient to install/uninstall them

Olical12:06:55

Definitely give folding via comments a go https://medium.com/usevim/folding-a-vimrc-1aee3d69cb6d

thanks2 3
👍 3
Aron07:06:57

I read this, twice. Says 109 is long, mine is 331. There is an example fold in the article linked and that fold wraps a number of lines. So to use this technique, I would have to wrap some lines in some comments. What I think I didn't express clearly before that I don't even know what to learn to know how to group these lines, how to organize them. Folding is great if you have at least some conception of what you want to hide and how to describe it, but most of my init vim is arcane magic to me, as obscure as anything.

Aron07:06:27

Before I wrote here I actually spent about 5 minutes trying to at least put some folds in and it seemed pointless 🙂 https://gist.github.com/ashnur/e7db927ac308bb105b92a5eb9228fd84 Not sharing it with any expectations in mind, just in case someone seeing this is curious.

Olical14:06:27

Just pushed doc changes, so I think I'm done for today. If you want to be an early bird, hop over to develop and you'll see warnings for where you're setting config with the old system. All docs should be updated already. Config is now set through let g:conjure#..., it can be set before or after Conjure is loaded, so far less confusion there I hope!

Olical14:06:12

The only notable changes are: Things that were prefixed by mappings are now mapping, clients is now filetype_client and all of the client specific config is under g:conjure#client#clojure#nrepl#... etc.

Olical14:06:50

Old config styles should work but show warnings. I will remove it pretty quickly, so I'll write up a guide to updating (not much to it) when I get around to releasing.

Olical14:06:11

Just looking for early feedback right now 🙂 it's been quite a bit of work but I think it's worth it in the long run.

Olical14:06:18

My changes to my dotfiles to update from a custom function I had to just g:conjure#... https://github.com/Olical/dotfiles/commit/106e1bdf001484ac17e8ae0aae7c67bdaa9be484

Olical14:06:58

Things I had to change in the config to get it to work in vim land: * ? suffixes are gone, incompatible. * - is now _. * everything is one path system separated by #, no more clojure.nrepl/debug special casing. That's about it really... other than moving mappings and clients around slightly.

Olical14:06:06

https://github.com/Olical/conjure/compare/develop quite a few changes so far 😬 let's hope they're all perfectly accurate!

Olical14:06:30

I just had a skim and I can't spot any typos, let me know if any docs etc seem wonky!