diff --git a/lua/nvim-ts-autotag/internal.lua b/lua/nvim-ts-autotag/internal.lua index 945b675..a048732 100644 --- a/lua/nvim-ts-autotag/internal.lua +++ b/lua/nvim-ts-autotag/internal.lua @@ -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',