PR https://github.com/joaotavora/eglot/issues/1026
* eglot.el (eglot-server-programs): Add -data setup for java-mode.
GitHub-reference: per https://github.com/joaotavora/eglot/issues/1008
(go-mode . ("gopls"))
((R-mode ess-r-mode) . ("R" "--slave" "-e"
"languageserver::run()"))
- (java-mode . ("jdtls"))
+ (java-mode . ("jdtls" "-data" ".jdtls-cache"))
(dart-mode . ("dart" "language-server"
"--client-id" "emacs.eglot-dart"))
(elixir-mode . ("language_server.sh"))