Unnamed repository; edit this file 'description' to name the repository.
Add block-comment-tokens configuration for Java
Ref https://github.com/helix-editor/helix/pull/12266#issuecomment-2546370787
Michael Davis 2024-12-17
parent 250d9fa · commit bae6a58
-rw-r--r--languages.toml3
1 files changed, 2 insertions, 1 deletions
diff --git a/languages.toml b/languages.toml
index a4f13a4a..9a0c3a27 100644
--- a/languages.toml
+++ b/languages.toml
@@ -1184,7 +1184,8 @@ file-types = ["java", "jav", "pde"]
roots = ["pom.xml", "build.gradle", "build.gradle.kts"]
language-servers = [ "jdtls" ]
indent = { tab-width = 2, unit = " " }
-comment-token = "//"
+comment-tokens = ["//"]
+block-comment-tokens = { start = "/*", end = "*/" }
[[grammar]]
name = "java"