Fix JSX autotag inside nested elements

This commit is contained in:
Edwar Martinez Vale 2022-03-01 07:10:27 -04:00 committed by windwp
parent 887fcd9e45
commit 57035b5814

View File

@ -42,7 +42,7 @@ local JSX_TAG = {
start_tag_pattern = 'jsx_opening_element',
start_name_tag_pattern = 'identifier|nested_identifier|jsx_identifier',
end_tag_pattern = "jsx_closing_element",
end_name_tag_pattern = "identifier|jsx_identifier",
end_name_tag_pattern = "identifier|nested_identifier|jsx_identifier",
close_tag_pattern = 'jsx_closing_element',
close_name_tag_pattern = 'identifier|nested_identifier|jsx_identifier',
element_tag = 'jsx_element',