diff --git a/crates/languages/src/css/config.toml b/crates/languages/src/css/config.toml index 143ee5690a..e22abe6d70 100644 --- a/crates/languages/src/css/config.toml +++ b/crates/languages/src/css/config.toml @@ -9,5 +9,6 @@ brackets = [ { start = "\"", end = "\"", close = true, newline = false, not_in = ["string", "comment"] }, { start = "'", end = "'", close = true, newline = false, not_in = ["string", "comment"] }, ] +word_characters = ["-"] block_comment = ["/* ", " */"] prettier_parser_name = "css" diff --git a/crates/languages/src/javascript/config.toml b/crates/languages/src/javascript/config.toml index 5cb02a2523..460ee0e0fd 100644 --- a/crates/languages/src/javascript/config.toml +++ b/crates/languages/src/javascript/config.toml @@ -25,4 +25,5 @@ block_comment = ["{/* ", " */}"] opt_into_language_servers = ["emmet-language-server"] [overrides.string] +word_characters = ["-"] opt_into_language_servers = ["tailwindcss-language-server"] diff --git a/crates/languages/src/markdown/config.toml b/crates/languages/src/markdown/config.toml index c9562da568..6b518ec8b6 100644 --- a/crates/languages/src/markdown/config.toml +++ b/crates/languages/src/markdown/config.toml @@ -1,6 +1,7 @@ name = "Markdown" grammar = "markdown" path_suffixes = ["md", "mdx", "mdwn", "markdown"] +word_characters = ["-"] brackets = [ { start = "{", end = "}", close = true, newline = true }, { start = "[", end = "]", close = true, newline = true }, diff --git a/crates/languages/src/tsx/config.toml b/crates/languages/src/tsx/config.toml index e173fcbc82..3cd377ce0b 100644 --- a/crates/languages/src/tsx/config.toml +++ b/crates/languages/src/tsx/config.toml @@ -24,4 +24,5 @@ block_comment = ["{/* ", " */}"] opt_into_language_servers = ["emmet-language-server"] [overrides.string] +word_characters = ["-"] opt_into_language_servers = ["tailwindcss-language-server"]