vim

2023-02-12T18:15:28.510889Z

Trying out coc , I installed the coc-clojure extension . Everytime I open vim I get a prompt to install clojure-lsp and cant tell if anything happens when I select yes . Can't jump to definitions yet - says language server doesn't support it . Anyone come across something similar ? Been using vim-lsp so far , thought id give coc a go . Im on vim 9.0

Epidiah Ravachol 2023-02-12T18:19:57.465419Z

This happened to me a month or two back and I vaguely remember solving it by installing clojure-lsp outside of vim.

👍 1
2023-02-12T18:23:55.757179Z

Oh that’s annoying, sorry about that

Martynas Maciulevičius 2023-02-12T18:54:09.347349Z

I installed this plugin but then I was put off by it not working out of the box. And then I was also put off by the docs bragging about the speed but not solving the basic setup issues. So now I use FZF with a more basic approach. 🤷 Maybe it's just me, I don't know.

2023-02-12T19:03:44.965019Z

Installed the clojure-lsp server manually but haven't gotten it to work perfectly yet . Still Can't jump to definitions unless I go to definition first using fireplace , then it seems to work 😅 ( defo related to some funkyness on my computer here - or maybe I am not using the lsp at all!) But apart from that so far initial impressions are great , its pretty killer. I use fzf aswell with this . Also an upgrade from my vim-lsp setup , much much much faster

2023-02-12T19:46:47.778579Z

Got it to work but for some reason its using my fireplace bindings 😂 . Thanks for the help

2023-03-06T11:21:29.058969Z

@invertisment_clojuria found this to be a much more straightforward setup if you are using neovim https://www.youtube.com/watch?v=stqUbv-5u2s&feature=youtu.be&ab_channel=TJDeVries

2023-03-06T11:35:16.391749Z

I thought I got it working originally but I haven;t yet . I have the coc-clojure extension installed (was able to see the extension active aswell with :CocList extensions) and clojure-lsp installed aswell but no luck . Hence tried the setup in the above video

✅ 1
2023-03-06T16:40:57.006609Z

got it to work in the end , had to copy over the contents of coc-setting.json as linked in the clojure-lsp site https://clojure-lsp.io/clients/#vim . not sure If i need the extension anymore