Fork me on GitHub
#lsp
<
2022-03-22
>
juhoteperi07:03:48

Does LSP support one server somehow telling the client to use another server to complete or validate a part of code? Or something similar. E.g. using Tailwindcss LSP server or VSCode LSP server for :class property string values? I know I can setup Tailwindcss LSP with regex rules to find e.g. :class but that doesn't support strings inside if forms etc.

ericdallo11:03:38

I'm not aware of this possibility

dpsutton18:03:53

i’m on the latest clojure-lsp. I see that “Add support for Find implementation”. So i highlight a defmulti and lsp-find-implmentation and i’m greeted with > lsp--send-request-async: The connected server(s) does not support method textDocument/implementation. I expected that this was supported. Am i missing something?

ericdallo18:03:41

what's the output of clojure-lsp --version ?

dpsutton18:03:20

hmm

clojure-lsp --version
clojure-lsp 2021.10.20-16.49.47
clj-kondo 2021.10.20-SNAPSHOT
which is way older than i thought

ericdallo18:03:42

you can try a #clojure-lsp-builds nightly build

ericdallo18:03:54

but yeah, that version is older indeed

dpsutton18:03:23

i think i have a bug in my upgrade-lsp script which won’t overwrite when expanding the downloaded zip

dpsutton18:03:40

not really. just scripted up a little bb