branch: externals/jarchive
commit 305dbc947a29f2a933aac4156da4428884cfa478
Author: dannyfreeman <[email protected]>
Commit: dannyfreeman <[email protected]>

    Don't for jar dependency scheme, just use whatever works.
---
 jarchive.el | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/jarchive.el b/jarchive.el
index cfe0c14060..2ee4377d6b 100644
--- a/jarchive.el
+++ b/jarchive.el
@@ -106,9 +106,6 @@ TODO: this might be unnecessary, try to remove"
   (and (string-match-p jarchive--uri-regex buffer-file-name)
        t))
 
-;; Eventually clojure-lsp devs may make this the default.
-(defvar jarchive-eglot-clojure-lsp-initialization-options '(:dependency-scheme 
"jar")
-  "If non-nil, use these options when starting clojure-lsp servers with 
eglot.")
 
 ;;;###autoload
 (defun jarchive-setup ()
@@ -116,10 +113,6 @@ TODO: this might be unnecessary, try to remove"
 the files can be identified with the `jar' uri scheme."
   (interactive)
   (with-eval-after-load 'eglot
-    (when (and jarchive-eglot-clojure-lsp-initialization-options (boundp 
'eglot-server-programs))
-      (add-to-list 'eglot-server-programs
-                   `((clojure-mode clojurescript-mode clojurec-mode) .
-                     ("clojure-lsp" :initializationOptions 
,jarchive-eglot-clojure-lsp-initialization-options)))))
   (add-to-list 'file-name-handler-alist (cons jarchive--uri-regex 
#'jarchive--file-name-handler))
   (add-to-list 'find-file-not-found-functions #'jarchive--find-file-not-found))
 

Reply via email to