Fork me on GitHub
#vim
<
2021-09-06
>
Ory Band11:09:36

Hi. I'm using coc.nvim plugin with https://github.com/clojure-lsp/clojure-lsp and https://github.com/neoclide/coc-java installed. I'm looking for a way to go-to-definition (i.e. jump to source) for java files from clojure source (in scenarios with java interop and :importing java libs). Can't find a guide or examples on google or github. Does anybody know how to do that? Maybe with some other LSP client other than coc, maybe even the new native one recently available in neovim?

noisesmith17:09:42

that seems like a much harder problem, as most java libs don't package source the way clojure ones do

☝️ 2
Ory Band20:09:16

thanks. i posted the question also in #lsp and got an answer straight from the developer. there are ways to solve this but it's under development https://clojurians.slack.com/archives/CPABC1H61/p1630926495154200?thread_ts=1630926495.154200&amp;cid=CPABC1H61

walterl21:09:11

Has anyone found a way to split a vim "session" over multiple monitors? It would be great if I could move my REPL and Conjure log buffers to one monitor, and "just code" on another.

walterl21:09:05

https://github.com/neovim/neovim/issues/2161 describes the functionality I'm looking for (I think), but doesn't seem to be getting much attention 😞

juhoteperi07:09:33

You could just connect multiple vim to same nrepl session, but won't help with sharing the buffer.

👍 2
Proctor13:09:21

You could also try something like Tmux, and use a tmux session, but not sure if that would help you

walterl13:09:46

I saw similar approaches on SO too, but not sure how that helps. Won't that just duplicate the same view over multiple monitors?

Proctor13:09:40

If you have the REPL in another Tmux window, you could be on one window on one monitor, and a different Tmux Window in another; Also should work with Panes too if you zoom in on one in one attached session vs another