Fork me on GitHub
#vim
<
2021-03-26
>
Aldo Nievas12:03:09

Hi! Has anyone tried neovim 5 with closure-lsp? Using nvim-lspconfig no coc-nvim.

Aldo Nievas13:03:34

yeah but it looks like they normally use Emacs

Aldo Nievas13:03:52

thanks anyway

walterl14:03:25

@aldo.nievas I gave that a try this week, but didn't really have time to get the setup just right. So for now I'm back on coc.nvim+clojure-lsp

walterl14:03:20

For one thing, you lose the completion (what coc.nvim is for primarliy)

walterl14:03:56

Meh. I should've taken notes

Aldo Nievas14:03:12

yes there is a thread on #lsp about that. Looks like a minor issue.

grazfather14:03:22

yeah just wanted to make sure you were aware of that channel

walterl14:03:05

Here's the nvim LSP config I used. It's adapted from one of the nvim LSP pages.

walterl14:03:12

And my coc.nvim setup:

walterl14:03:44

Something I really liked from the nvim-lsp config is vim.lsp.buf.signature_help(). I still want to see if there's a (coc-signature-help) or some such, but haven't got around to that yet

walterl14:03:31

If nothing else, this exercise at least taught me more about LSP and the functionality that clojure-lsp supports. I'm still a bit confused where all the functionality boundaries are between Conjure and coc.nvim, and ALE is mixed in there too 😵. Hopefully I can spend a bit more time on this over the weekend.

snoe21:03:41

hover in coc gives you signatures.

👍 3
emilaasa19:03:18

What's the output supposed to be? Mine currently just looks like this:

emilaasa20:03:19

Ah, I had the wrong classpath command