Skip to content

Commit

Permalink
Added a default lsp server for Java in languages.toml (#2511)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
JThompson-VI and JThompson-VI authored May 20, 2022
1 parent e04bb8b commit e8e2526
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion book/src/generated/lang-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` |
Expand Down
1 change: 1 addition & 0 deletions languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]]
Expand Down

0 comments on commit e8e2526

Please sign in to comment.