Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Expand word characters for html and css
Kirill Bulatova35b3f39c5c6
diff --git a/crates/zed/src/languages/css/config.toml b/crates/zed/src/languages/css/config.tomlindex ba9660c4ed1..05de4be8a3f 100644--- a/crates/zed/src/languages/css/config.toml+++ b/crates/zed/src/languages/css/config.toml@@ -8,3 +8,4 @@ brackets = [{ start = "\"", end = "\"", close = true, newline = false, not_in = ["string", "comment"] },{ start = "'", end = "'", close = true, newline = false, not_in = ["string", "comment"] },]+word_characters = ["-"]diff --git a/crates/zed/src/languages/html/config.toml b/crates/zed/src/languages/html/config.tomlindex 077a421ce1b..164e095cee9 100644--- a/crates/zed/src/languages/html/config.toml+++ b/crates/zed/src/languages/html/config.toml@@ -10,3 +10,4 @@ brackets = [{ start = "<", end = ">", close = true, newline = true, not_in = ["comment", "string"] },{ start = "!--", end = " --", close = true, newline = false, not_in = ["comment", "string"] },]+word_characters = ["-"]