diff --git a/lua/nvim-ts-autotag/internal.lua b/lua/nvim-ts-autotag/internal.lua index f4edda1..36a1d45 100644 --- a/lua/nvim-ts-autotag/internal.lua +++ b/lua/nvim-ts-autotag/internal.lua @@ -86,8 +86,8 @@ local SVELTE_TAG = { start_name_tag_pattern = { 'tag_name' }, end_tag_pattern = { 'end_tag' }, end_name_tag_pattern = { 'tag_name' }, - close_tag_pattern = { 'ERROR' }, - close_name_tag_pattern = { 'ERROR', 'erroneous_end_tag_name' }, + close_tag_pattern = { 'erroneous_end_tag' }, + close_name_tag_pattern = { 'erroneous_end_tag_name' }, element_tag = { 'element' }, skip_tag_pattern = { 'quoted_attribute_value', 'end_tag' }, }