File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -71,12 +71,13 @@ Requires to be ended with a slash."
7171 " Retrieves the root directory of the java project root if available.
7272
7373The current directory is assumed to be the java project’s root otherwise."
74- (cond
75- ((and (featurep 'projectile ) (projectile-project-p)) (projectile-project-root))
76- ((vc-backend default-directory) (expand-file-name (vc-root-dir )))
77- (t (let ((project-types '(" pom.xml" " build.gradle" " .project" " WORKSPACE" )))
74+ (expand-file-name
75+ (cond
76+ ((and (featurep 'projectile ) (projectile-project-p)) (projectile-project-root))
77+ ((vc-backend default-directory) (vc-root-dir ))
78+ (t (let ((project-types '(" pom.xml" " build.gradle" " .project" " WORKSPACE" )))
7879 (or (seq-some (lambda (file ) (locate-dominating-file default-directory file)) project-types)
79- default-directory)))))
80+ default-directory))))))
8081
8182;;;### autoload
8283(defun lsp-javacomp-install-server (&optional prompt-exists )
You can’t perform that action at this time.
0 commit comments