File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 90
90
:risky t
91
91
:type 'directory )
92
92
93
+ (defcustom lsp-clojure-library-dirs (list lsp-clojure-workspace-cache-dir
94
+ (expand-file-name " ~/.gitlibs/libs" ))
95
+ " LSP clojure dirs that should be considered library folders."
96
+ :group 'lsp-clojure
97
+ :type 'list )
98
+
93
99
(defcustom lsp-clojure-test-tree-position-params nil
94
100
" The optional test tree position params.
95
101
Defaults to side following treemacs default."
@@ -437,7 +443,7 @@ It updates the test tree view data."
437
443
#'lsp-clojure--build-command
438
444
#'lsp-clojure--build-command )
439
445
:major-modes '(clojure-mode clojurec-mode clojurescript-mode)
440
- :library-folders-fn (lambda (_workspace ) ( list lsp-clojure-workspace-cache-dir) )
446
+ :library-folders-fn (lambda (_workspace ) lsp-clojure-library-dirs )
441
447
:uri-handlers (lsp-ht (" jar" #'lsp-clojure--file-in-jar ))
442
448
:action-handlers (lsp-ht (" code-lens-references" #'lsp-clojure--show-references ))
443
449
:notification-handlers (lsp-ht (" clojure/textDocument/testTree" #'lsp-clojure--handle-test-tree ))
You can’t perform that action at this time.
0 commit comments