Fork me on GitHub
#vim
<
2019-11-09
>
Aleksander18:11:41

Anyone knows how to control width and order of those columns?

Aleksander18:11:42

or even how to call them - are they the floating windows?

Aleksander19:11:40

checked Urban Dictionary for pumu 😂

dominicm19:11:51

Sorry, mobile and being quick

dominicm19:11:21

Pumu is what vim calls the feature

dominicm19:11:04

:helpgrep is your friend :)

Aleksander19:11:15

I'm on neovim

Aleksander19:11:55

but found my way around ... thanks for help

nate19:11:53

@UA2R84M28 any findings you can share?

Aleksander19:11:35

so: my understanding is that these are floating windows coming from coc.nvim via conjure completion source

Aleksander19:11:02

the reason the doc part gets squished is because conjure includes first full name of the function then namespace then arguments if one the completion candidates is long and/or namespace is long then the result leaves little space for documentation

dominicm19:11:30

The doc is floating, the completion is a menu

👍 4
nate20:11:09

Cool. Thank you for sharing.

Aleksander20:11:28

For now I've changed my local conjure source action.clj to not include namespace - I can live without it

Olical20:11:56

If you need customisation I could potentially add a hook for it that'd let you edit the columns as you see fit :thinking_face:

Aleksander20:11:33

Envious a bit at the moment of Emacs people dealing only with elisp and not VimL, Lua, Python and Javascript!

Olical20:11:45

I'll be replacing the viml and lua with fennel soon, maybe that'll help a little. I never liked elisp anyway 😅

👍 4
Olical20:11:25

Added the idea for a completion hook to my to-do list. Shouldn't take long, will allow you to reorder rows and modify / reorder columns to your heart's content.

Olical20:11:36

Might be able to do it tomorrow

Aleksander20:11:26

@U38J3881W it's the first time I've come across issue with too long namespace/function names squeezing out docs, I'll pay attention if it's an actual issue. I thought maybe shortening namespaces might be a solution? Maybe (if possible) trying to be smart about size of the completion options on small screens?

Aleksander20:11:02

clojure.core.match -> c.c.match

Aleksander20:11:52

thanks for a great plugin by the way, I really enjoy using it!

Olical20:11:56

That'll definitely be possible with this hook, then it's just a snippet people can add to their config if they want it. Thanks for the positive feedback, it means a lot! 😊

👍 4
heefoo13:11:48

@U38J3881W the guy that created fennel has created janet-lang which is awesome for scripting but doesnt tranpile to lua. It is very similar to clojure so you might want to take a look.

Olical14:11:39

Ohhh I've heard of that, I'll have to check it out 😄

😁 4