mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-04 02:05:31 +00:00
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:
commit
4d2933a4d7
2 changed files with 11 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue