Expand word characters for html and css

Kirill Bulatov created

Change summary

crates/zed/src/languages/css/config.toml  | 1 +
crates/zed/src/languages/html/config.toml | 1 +
2 files changed, 2 insertions(+)

Detailed changes

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 = ["-"]

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 = ["-"]