Include JS template literal as string type for overrides (#2939)

Allows us to trigger Tailwind completions within template literals in
JSX elements

Release Notes:
- Fixed Tailwind autocomplete not appearing in template literals.
This commit is contained in:
Julia 2023-09-07 14:58:41 -04:00 committed by GitHub
commit 4d2933a4d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 2 deletions

View file

@ -1,5 +1,9 @@
(comment) @comment (comment) @comment
(string) @string
[
(string)
(template_string)
] @string
[ [
(jsx_element) (jsx_element)

View file

@ -1,5 +1,10 @@
(comment) @comment (comment) @comment
(string) @string
[
(string)
(template_string)
] @string
[ [
(jsx_element) (jsx_element)
(jsx_fragment) (jsx_fragment)