This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-11-18
Channels
- # announcements (2)
- # babashka (65)
- # beginners (104)
- # boot (8)
- # calva (23)
- # circleci (3)
- # clj-commons (1)
- # clj-on-windows (3)
- # clojure (43)
- # clojure-europe (45)
- # clojure-france (2)
- # clojure-italy (3)
- # clojure-nl (3)
- # clojure-norway (13)
- # clojure-uk (4)
- # clojurescript (5)
- # core-typed (2)
- # cursive (5)
- # data-science (2)
- # datalevin (10)
- # emacs (38)
- # events (2)
- # fulcro (11)
- # graphql (6)
- # gratitude (2)
- # helix (11)
- # hugsql (3)
- # jobs (2)
- # lsp (17)
- # luminus (1)
- # malli (15)
- # missionary (3)
- # nrepl (6)
- # off-topic (6)
- # pedestal (2)
- # portal (16)
- # reagent (33)
- # reitit (4)
- # releases (12)
- # ring (2)
- # sci (3)
- # shadow-cljs (21)
- # spacemacs (7)
- # sql (5)
- # tools-build (36)
- # web-security (2)
does the language server have to be updated manually? or will just updating my client (spacemacs) package do that?
well that might be the source of my woes. here is the output i get while running that:
LSP :: Server clojure-lsp install process failed with the following error message: (error Attempt to accept output from process locked to thread #<thread 0x55b1c30a4c20>).
Check `*lsp-install*' and `*lsp-log*' buffer.
Probably the best way to install it is via: https://clojure-lsp.io/installation/#homebrew-macos-and-linux
#!/usr/bin/env bb
(require '[babashka.fs :as fs]
'[babashka.curl :as curl]
'[ :as io])
(def latest-url "")
(def release-name "clojure-lsp-native-macos-amd64.zip")
(def release-location (-> (curl/get latest-url)
:headers
(get "location")
(str "/" release-name)))
(println " Downloading " release-location)
(def zip-download (io/file (.toFile (fs/temp-dir)) "clojure-lsp.zip"))
(io/copy
(:body (curl/get release-location {:as :stream}))
zip-download)
(println " Extracting to /Users/dan/bin/clojure-lsp")
(fs/unzip zip-download "/Users/dan/bin/" {:replace-existing true})
(println "-- Done")
you can just update the install location "/Users/dan/bin/"
for wherever you need itthanks dpsutton. @UKFSJSM38 where should i install it to though? I didn't see that in the docs either, where the client expects it to be.
i guess that script answer the question.
For Linux, I just download the latest release of clojure-lsp from GitHob and put it on the $PATH. Emacs will find it.
Specifically I place clojure-lsp into $HOME/.local/bin/
directory, no need for any additional scripts or another package manager