mirror of
https://github.com/windwp/nvim-ts-autotag.git
synced 2024-12-28 07:19:16 -06:00
fix: add missing node_id
Co-authored-by: Price Hiller <price@price-hiller.com>
This commit is contained in:
parent
bb65adf1df
commit
e451e0c6eb
@ -46,6 +46,7 @@ local function is_in_template_tag()
|
||||
local current_node = cursor_node
|
||||
local visited_nodes = {}
|
||||
while not (has_element and has_template_string) and current_node do
|
||||
local node_id = current_node:id()
|
||||
if visited_nodes[node_id] then
|
||||
break
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user