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 @@ -575,6 +575,12 @@ extract all or only the current occurrence."
575
575
(interactive )
576
576
(lsp-java-execute-matching-action " Import '.*'" ))
577
577
578
+ (defun lsp-java--bundles ()
579
+ " Get lsp java bundles."
580
+ (let ((bundles-dir (lsp-java--bundles-dir)))
581
+ (append lsp-java-bundles (when (file-directory-p bundles-dir)
582
+ (directory-files bundles-dir t " \\ .jar$" )))))
583
+
578
584
(lsp-define-stdio-client lsp-java " java" (lambda () lsp-java-workspace-dir)
579
585
(lsp-java--ls-command)
580
586
:ignore-regexps
@@ -586,7 +592,7 @@ extract all or only the current occurrence."
586
592
:settings (lsp-java--settings)
587
593
:extendedClientCapabilities (list :progressReportProvider t
588
594
:classFileContentsSupport t )
589
- :bundles lsp-java-bundles)
595
+ :bundles ( lsp-java-- bundles) )
590
596
:initialize 'lsp-java--client-initialized )
591
597
592
598
(defun lsp-java-update-user-settings ()
You can’t perform that action at this time.
0 commit comments