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
| -rw-r--r-- | languages.toml | 3 |
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" |