This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-09-11
Channels
- # babashka (66)
- # beginners (6)
- # calva (4)
- # clerk (25)
- # cljdoc (2)
- # clojars (2)
- # clojure (22)
- # clojure-europe (20)
- # clojure-nl (1)
- # clojure-norway (19)
- # clojure-uk (2)
- # conjure (1)
- # cursive (2)
- # data-science (8)
- # datomic (14)
- # helix (1)
- # hyperfiddle (15)
- # kaocha (1)
- # lsp (4)
- # malli (12)
- # polylith (36)
- # releases (2)
- # shadow-cljs (3)
- # spacemacs (2)
- # sql (7)
- # xtdb (2)
- # yaml (2)
In Neovim, seems like lsp's funcitonality stops working whenever I navigate to a jar/zipfile e.g If I'm on a buffer which has a method 'x' defined in a clj file inside a jar.. Lsp goto definition
takes me to the method 'x' in the jar file but after that it stops recognizing the jar file and lsp seems disabled.
:LspInfo says 0 client(s) attached to this buffer:
Is there a way to let Lsp in neovim know that it should treat a clj file inside a jar/zip as a clojure file and enable lsp on it?

@UKFSJSM38 what do you mean with "library file"? is that something the lsp client would do (as in it's part if the lsp specification)?
Yes, let me explain how that works:
On the client, it's configured that any file inside ~/.m2
or ~/.gitlibs/libs
is a library-folder, so when opening a file there, the lsp client consider those files as part of the existing running LSP workspace, so it won't spawn a new server process or anything.