Make selection more consistent across languages (#17084)

- Remove "-" from word_character for CSS/JS/TSX/Markdown
- Makes our word-selection behavior consistent across language modes (and consistent with VSCode).
This commit is contained in:
Peter Tripp 2024-08-29 15:02:24 +00:00 committed by GitHub
parent 376828e92f
commit 7db8d80c30
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 0 additions and 5 deletions

View file

@ -9,6 +9,5 @@ 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"