From bfd5d18384bb65f2e09e4bf766d2859e9ff311cc Mon Sep 17 00:00:00 2001 From: Victor Batarse <80638470+Alt-iOS@users.noreply.github.com> Date: Sun, 9 Jun 2024 01:43:29 -0600 Subject: [PATCH] Update plugin.lua --- lua/nvim-ts-autotag/config/plugin.lua | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/lua/nvim-ts-autotag/config/plugin.lua b/lua/nvim-ts-autotag/config/plugin.lua index 9061bd1..ded8a8b 100644 --- a/lua/nvim-ts-autotag/config/plugin.lua +++ b/lua/nvim-ts-autotag/config/plugin.lua @@ -100,15 +100,15 @@ local function setup_tag_configs() skip_tag_pattern = { "quoted_attribute_value", "tag_end", "attribute", "value" }, })) - TagConfigs:add(html_tag_cfg:extend("rust",{ - start_tag_pattern = { 'open_tag' }, - start_name_tag_pattern = { 'node_identifier' }, - end_tag_pattern = { 'close_tag' }, - end_name_tag_pattern = { 'node_identifier' }, - close_tag_pattern = { 'close_tag' }, - close_name_tag_pattern = { 'close_tag', 'node_identifier' }, - element_tag = { 'element_node' }, - skip_tag_pattern = { 'close_tag', 'node_attribute', 'block' }, + TagConfigs:add(base_cfg:extend("rust",{ + start_tag_pattern = { 'open_tag' }, + start_name_tag_pattern = { 'node_identifier' }, + end_tag_pattern = { 'close_tag' }, + end_name_tag_pattern = { 'node_identifier' }, + close_tag_pattern = { 'close_tag' }, + close_name_tag_pattern = { 'close_tag', 'node_identifier' }, + element_tag = { 'element_node' }, + skip_tag_pattern = { 'close_tag', 'node_attribute', 'block' }, })) end