Fork me on GitHub
#vim
<
2022-01-09
>
sheluchin16:01:48

I get duplicate warning messages from clj-kondo for things like missing requires. Does anyone know what could be the cause or how I could diagnose the issue?

ericdallo16:01:28

maybe you have both lsp and other kondo plugin enabled?

sheluchin17:01:10

Is there some way to see which plugin is emitting each message?

ericdallo17:01:25

Good question, I'm no vim user, Just as a spy here 😛

sheluchin17:01:25

heh thanks @UKFSJSM38, appreciate you checking in here 🙂

ericdallo17:01:25

:) I already saw vscode folks with the same issue and the cause was having too different plugins doing the same, that's why I suggested that

sheluchin18:01:53

@UKFSJSM38 for some reason when I start vim, I get two clojure-lsp processes running. I'm guessing this isn't the expected behaviour?

ericdallo18:01:07

Yeah, unless you have another open project or something

ericdallo18:01:24

There should be one clojjre-lsp running per proejct

sheluchin18:01:01

Hmm, what the heck is starting the extra process :thinking_face:

ericdallo18:01:38

maybe you have 2 vim plugins like coc and nvim at the same time?

sheluchin18:01:52

Ah, found it! I had something similar to the coc-settings.json example here https://clojure-lsp.io/clients/#vim and also had https://github.com/noahtheduke/coc-clojure installed. Uninstalling the latter removed the duplicated process.

sheluchin18:01:40

Thanks for the input here 🙏

👍 1