From bae6a58c3c8d33ee9659d18a05358c17704d7809 Mon Sep 17 00:00:00 2001 From: Michael Davis Date: Mon, 16 Dec 2024 14:01:42 -0500 Subject: [PATCH] Add block-comment-tokens configuration for Java Ref https://github.com/helix-editor/helix/pull/12266#issuecomment-2546370787 --- languages.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/languages.toml b/languages.toml index a4f13a4ae..9a0c3a27e 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"