-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Semantic tokens not working with Clojure LSP #2294
Comments
Have you enabled Can you place the cursor inside Could you post the exact response to the |
This comment was marked as duplicate.
This comment was marked as duplicate.
The docs are missing the part to set |
It was indeed the And yes, clojure-lsp was announcing semantic tokens. On
And I have exactly one other log saying:
|
Describe the bug
I'm trying to setup LSP and my editor doesn't recognize
s/defn
macro as a function declaration.The Clojure LSP should be reporting
s/defn
as function semantic tokens. Looking at the logs, the LSP plugin doesn't seem to be sending anysemanticTokens/full
requests. Also, adding:To the color scheme also does nothing.
To Reproduce
Open a clojure project with prismatic schema and clojure-lsp set up. Declare a function using
s/defn
.Expected behavior
I expected
defn
ands/defn
function definitions to be highlighted the sameScreenshots
Environment (please complete the following information):
Additional context
I debugged this with the clojure-lsp dev and he was convinced the problem was on the client side (LSP)
The text was updated successfully, but these errors were encountered: