Skip to content

Commit

Permalink
Make lsp-java-workspace-cache-dir use workspace-dir by default
Browse files Browse the repository at this point in the history
This makes it a tiny bit easier if you want to
customize the workspace path as you only have to set
1 instead of 2 variables.
  • Loading branch information
dakra committed Feb 25, 2019
1 parent d21d537 commit 1a8c953
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lsp-java.el
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ The slash is expected at the end."
:risky t
:type 'directory)

(defcustom lsp-java-workspace-cache-dir (expand-file-name (locate-user-emacs-file "workspace/.cache/"))
(defcustom lsp-java-workspace-cache-dir (expand-file-name ".cache/" lsp-java-workspace-dir)
"LSP java workspace cache directory."
:group 'lsp-java
:risky t
Expand Down

0 comments on commit 1a8c953

Please sign in to comment.