mirror of
https://github.com/windwp/nvim-ts-autotag.git
synced 2025-01-24 18:53:53 -06:00
Update plugin.lua
This commit is contained in:
parent
08076ec41f
commit
bfd5d18384
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user