clojure-vim / async-clj-omni

Async Clojure Completion for various (n)vim completion engines
49 stars 7 forks source link

How big a deal would it be to make this work with Slimv? #19

Open ghost opened 6 years ago

ghost commented 6 years ago

I have decided to do my Clojure development with Slimv. I completely missed that this is targeted at fireplace - until I started browsing the sources looking for why it didn't seem to be working.... sigh. Would it be appropriate for use with Slimv also? If so would it be a big effort to accomplish?

Thanks, Dave Day

SevereOverfl0w commented 6 years ago

Getting this to work with slimv would be something I've never really considered. I don't know the slime protocol at all, but see no reason async-clj-omni couldn't get connection details from slimv and use them to start an out of band connection.

The actual deoplete/ncm integrations are relatively small, the biggest undertaking would be figuring out how to talk to slime.

ghost commented 6 years ago

Thanks for the prompt reply. I am just in the process of learning mit-scheme and common lisp and Clojure. I have been using vi/vim/nvim since the 1980s and have no interest in emacs, so I would like to have one plugin to handle all three languages. So, I'll put learning the Slime protocol on my back burner to do list and you just might here from me again once I know lisp and Slime and can help some.

Thanks again, Dave Day

On Sun, 06 May 2018, Dominic Monroe wrote:

Getting this to work with slimv would be something I've never really considered. I don't know the slime protocol at all, but see no reason async-clj-omni couldn't get connection details from slimv and use them to start an out of band connection.

The actual deoplete/ncm integrations are relatively small, the biggest undertaking would be figuring out how to talk to slime.

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/clojure-vim/async-clj-omni/issues/19#issuecomment-386898875

SevereOverfl0w commented 6 years ago

Just as an additional note, there is no longer any support from swank-clojure (https://github.com/technomancy/swank-clojure), and their advice is to switch to nrepl.

ghost commented 6 years ago

On Sun, 06 May 2018, Dominic Monroe wrote: OK, Thanks

Actually, Slimv is working reasonably well with Clojure for me now, except for me missing the Deoplete completion that I am used to with all the other languages I use. I use lein-swank's repl and it works well.

I just have decided that rather than dive right into Clojure and having to wonder if any problems are me, Clojure or JVM, I would grab mit-scheme and commmon lisp and learn in a simpler environment first. Slimv nominally works with all three (MIT-scheme, common lisp and Clojure) so, although it is more complicated (more full featured), I can kill three birds with one stone.

Thanks again, Dave Day

Just as an additional note, there is no longer any support from swank-clojure (https://github.com/technomancy/swank-clojure), and their advice is to switch to nrepl.

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/clojure-vim/async-clj-omni/issues/19#issuecomment-386900824

ghost commented 6 years ago

Well, shame on me.....!

Slimv does indeed have pretty good completions, just not exactly the way I am spoiled to have them with Deoplete. You have to start a word and then hit tab. I am used to Deoplete just giving them to me automatically. They are fuzzy too.

I have included a screen shot of when I had typed 'ctm' and hit . "convert-to-morse" is what I was looking for. So that will do and I will see if I can tweak its behavior as I go along.

So ---- as Rosana Rosana Dana would say -> Never mind!

Cheers, Dave

On Sun, 06 May 2018, Dominic Monroe wrote:

Just as an additional note, there is no longer any support from swank-clojure (https://github.com/technomancy/swank-clojure), and their advice is to switch to nrepl.

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/clojure-vim/async-clj-omni/issues/19#issuecomment-386900824

ghost commented 6 years ago

Actually, after another few days of experience, what seems to be going on is that Slimv offers its own completions, activated by the key and deoplete is still there opening up automatically, providing buffer and tag completions. They are competing with each other offering entirely separate completion sources. I have Deoplete set to open automatically after 3 characters, and Slimv only opens with , so I have to hit BEFORE typing the 3rd character or Deoplete takes over and Slimv's completions are not at that point available anymore.

So, I would still be very interested in learning how to get Slimv (probably, actually, swank) to serve as a completion source for Deoplete so I could have my normal combined list of completions automatically. I'll ask Shougo if he has any thoughts on this.

Thanks for listening, Dave