-
Notifications
You must be signed in to change notification settings - Fork 306
Servers Clojure
mattn edited this page May 16, 2023
·
3 revisions
- Follow instructions here
au User lsp_setup call lsp#register_server({
\ 'name': 'clojure-lsp',
\ 'cmd': {server_info->[&shell, &shellcmdflag, '$PATH_TO_CLOJURE_LSP']},
\ 'allowlist': ['clojure', 'clojurescript']
\ })
- Navigate to the latest clj-kondo release
- Download the
clj-kondo-lsp-server-SOME-DATE-standalone.jar
- Move it to somewhere not likely to be deleted (
~
for me)
au User lsp_setup call lsp#register_server({
\ 'name': 'clj-kondo',
\ 'cmd': {server_info->[&shell, &shellcmdflag, 'java -jar ~/clj-kondo-lsp']},
\ 'allowlist': ['clojure', 'clojurescript']
\ })
Note: the supported lsp feature set is wildly different between these servers.