Added a default lsp server for Java in languages.toml (#2511)

* Added a default lsp server for Java in languages.toml

* Added a default lsp server for Java in languages.toml cont.

Co-authored-by: Jacob Thompson <a01657923@usu.edu>
This commit is contained in:
Jacob Thompson 2022-05-20 00:17:46 -06:00 committed by GitHub
parent e04bb8b891
commit e8e252648f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -38,7 +38,7 @@
| heex | ✓ | | | |
| html | ✓ | | | `vscode-html-language-server` |
| iex | ✓ | | | |
| java | ✓ | | | |
| java | ✓ | | | `jdtls` |
| javascript | ✓ | | ✓ | `typescript-language-server` |
| json | ✓ | | ✓ | `vscode-json-language-server` |
| jsx | ✓ | | ✓ | `typescript-language-server` |

View File

@ -551,6 +551,7 @@ scope = "source.java"
injection-regex = "java"
file-types = ["java"]
roots = ["pom.xml"]
language-server = { command = "jdtls" }
indent = { tab-width = 4, unit = " " }
[[grammar]]