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:
@@ -1,5 +1,9 @@
|
||||
(comment) @comment
|
||||
(string) @string
|
||||
|
||||
[
|
||||
(string)
|
||||
(template_string)
|
||||
] @string
|
||||
|
||||
[
|
||||
(jsx_element)
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
(comment) @comment
|
||||
(string) @string
|
||||
|
||||
[
|
||||
(string)
|
||||
(template_string)
|
||||
] @string
|
||||
|
||||
[
|
||||
(jsx_element)
|
||||
(jsx_fragment)
|
||||
|
||||
Reference in New Issue
Block a user