vim

For discussion on all things (neo)vim.
Aldo Nievas 2021-03-26T12:27:09.017200Z

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

grazfather 2021-03-26T13:10:58.017400Z

#lsp

Aldo Nievas 2021-03-26T13:25:34.017800Z

yeah but it looks like they normally use Emacs

Aldo Nievas 2021-03-26T13:25:52.018Z

thanks anyway

walterl 2021-03-26T14:03:25.019300Z

@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

walterl 2021-03-26T14:04:20.019900Z

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

walterl 2021-03-26T14:04:56.020300Z

Meh. I should've taken notes

Aldo Nievas 2021-03-26T14:05:12.020500Z

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

grazfather 2021-03-26T14:14:22.020800Z

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

walterl 2021-03-26T14:38:05.021500Z

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

walterl 2021-03-26T14:39:12.021800Z

And my coc.nvim setup:

walterl 2021-03-26T14:40:44.023100Z

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

walterl 2021-03-26T14:45:31.024900Z

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.

snoe 2021-03-26T21:20:41.025100Z

hover in coc gives you signatures.

👍 1
emilaasa 2021-03-28T19:51:18.025600Z

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

emilaasa 2021-03-28T20:18:19.026Z

Ah, I had the wrong classpath command

emilaasa 2021-03-28T20:23:05.026200Z