This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-11-25
Channels
- # announcements (1)
- # asami (3)
- # aws (2)
- # babashka (8)
- # beginners (60)
- # biff (3)
- # calva (45)
- # clj-http (3)
- # clj-kondo (19)
- # clojure (50)
- # clojure-europe (23)
- # clojure-nl (8)
- # clojure-spec (4)
- # clojure-uk (3)
- # clojurescript (32)
- # conjure (3)
- # datomic (7)
- # events (2)
- # fulcro (24)
- # graalvm (3)
- # inf-clojure (3)
- # jackdaw (1)
- # lsp (3)
- # malli (8)
- # missionary (14)
- # off-topic (1)
- # polylith (3)
- # portal (11)
- # rewrite-clj (63)
- # shadow-cljs (21)
- # spacemacs (7)
- # tools-build (6)
- # xtdb (4)
Hey everybody! Lately been experimenting with Vim (using coc) and while go-to-definitions work fine for .clj files, for some reason when I’m working on ClojureScript, I get an error:
definition provider not found for current buffer, your language server
doesn't support it.
I tried googling to the best of my abilty, but couldn’t figure out where the difference comes from. My coc-settings.json is:
{
"languageserver": {
"clojurelsp": {
"command": "/Users/asko/clojure-lsp",
"filetypes": [".clj", ".cljs", ".cljc", "clojure", "clojurescript"],
"additionalSchemes": ["jar", "zipfile"],
"trace.server": "verbose",
"initializationOptions": {}
}
}
}
Perhaps my configuration is a bit off?I'm no vim user but we can confirm what server is return to client, you need to get the client<->server json log
I wrote a simple CoC plugin for Clojure too: https://github.com/NoahTheDuke/coc-clojure