diff --git a/lua/nvim-ts-autotag/internal.lua b/lua/nvim-ts-autotag/internal.lua index 3d42008..6460652 100644 --- a/lua/nvim-ts-autotag/internal.lua +++ b/lua/nvim-ts-autotag/internal.lua @@ -31,10 +31,10 @@ local HTML_TAG = { 'php', 'xml', }, - start_tag_pattern = { 'start_tag' }, - start_name_tag_pattern = { 'tag_name' }, - end_tag_pattern = { 'end_tag' }, - end_name_tag_pattern = { 'tag_name' }, + start_tag_pattern = { 'start_tag', 'STag' }, + start_name_tag_pattern = { 'tag_name', 'Name' }, + end_tag_pattern = { 'end_tag', 'ETag' }, + end_name_tag_pattern = { 'tag_name', 'Name' }, close_tag_pattern = { 'erroneous_end_tag' }, close_name_tag_pattern = { 'erroneous_end_tag_name' }, element_tag = { 'element' },