From ecb037fc0e80d1f373e536ed3b49d70c8ff4edf1 Mon Sep 17 00:00:00 2001 From: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com> Date: Wed, 27 Sep 2023 11:56:26 +0200 Subject: [PATCH] language: Add block_comment to CSS (#3045) Fixes zed-industries/community#2081 Release Notes: - Fixed "toggle comment" action not working in CSS buffers. --- crates/zed/src/languages/css/config.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/zed/src/languages/css/config.toml b/crates/zed/src/languages/css/config.toml index 05de4be8a3..da63d6df2d 100644 --- a/crates/zed/src/languages/css/config.toml +++ b/crates/zed/src/languages/css/config.toml @@ -9,3 +9,4 @@ brackets = [ { start = "'", end = "'", close = true, newline = false, not_in = ["string", "comment"] }, ] word_characters = ["-"] +block_comment = ["/* ", " */"]