From 8ff2824168df4205c3b152d1a1d96c8cf96f76bc Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Thu, 7 Mar 2024 10:42:21 -0600 Subject: [PATCH] fix: update tag patterns to support new XML TS tags --- lua/nvim-ts-autotag/internal.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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' },