mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-04 18:58:12 +00:00
This commit is contained in:
parent
a8b3c20fbc
commit
95878ad32a
2 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
|
||||
(jsx_element
|
||||
(jsx_opening_element
|
||||
(identifier) @tag (#eq? @tag "img")
|
||||
(identifier) @tag (#any-of? @tag "img" "Image")
|
||||
(jsx_attribute
|
||||
(property_identifier) @attr_name (#eq? @attr_name "src")
|
||||
(string (string_fragment) @image)
|
||||
|
@ -10,7 +10,7 @@
|
|||
) @anchor
|
||||
|
||||
(jsx_self_closing_element
|
||||
(identifier) @tag (#eq? @tag "img")
|
||||
(identifier) @tag (#any-of? @tag "img" "Image")
|
||||
(jsx_attribute
|
||||
(property_identifier) @attr_name (#eq? @attr_name "src")
|
||||
(string (string_fragment) @image)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue