Skip to content

Commit

Permalink
Make lsp-bridge-jdtls-default-file support Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
manateelazycat committed Jul 2, 2023
1 parent 7528ce4 commit e118b8e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lsp-bridge-jdtls.el
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@
"LSP-Bridge jdtls workspace directory.")

(defvar lsp-bridge-jdtls-default-file
(expand-file-name "langserver/jdtls.json"
(file-name-directory load-file-name)))
(expand-file-name
(if (memq system-type '(cygwin windows-nt ms-dos))
"langserver/jdtls_windows.json"
"langserver/jdtls.json")
(file-name-directory load-file-name)))

(defcustom lsp-bridge-jdtls-jvm-args '()
"Specifies additional VM parameters for starting the Java language server.
Expand Down

0 comments on commit e118b8e

Please sign in to comment.