Skip to content

Commit

Permalink
fix: auto renaming for Templ files
Browse files Browse the repository at this point in the history
  • Loading branch information
axzilla authored and PriceHiller committed May 21, 2024
1 parent cb57b07 commit 6f38e42
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lua/nvim-ts-autotag/config/plugin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,13 @@ local function setup_tag_configs()

TagConfigs:add(base_cfg:extend("templ", {
start_tag_pattern = { "tag_start" },
start_name_tag_pattern = { "element_identifier" },
start_name_tag_pattern = { "element_identifier", "name" },
end_tag_pattern = { "tag_end" },
end_name_tag_pattern = { "element_identifier" },
close_tag_pattern = { "erroneous_end_tag" },
close_name_tag_pattern = { "erroneous_end_tag_name" },
end_name_tag_pattern = { "element_identifier", "name" },
close_tag_pattern = { "tag_end" },
close_name_tag_pattern = { "element_identifier", "name" },
element_tag = { "element" },
skip_tag_pattern = { "quoted_attribute_value", "tag_end" },
skip_tag_pattern = { "quoted_attribute_value", "tag_end", "attribute", "value" },
}))
end

Expand Down

0 comments on commit 6f38e42

Please sign in to comment.