We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb65adf commit e451e0cCopy full SHA for e451e0c
lua/nvim-ts-autotag/internal.lua
@@ -46,6 +46,7 @@ local function is_in_template_tag()
46
local current_node = cursor_node
47
local visited_nodes = {}
48
while not (has_element and has_template_string) and current_node do
49
+ local node_id = current_node:id()
50
if visited_nodes[node_id] then
51
break
52
end
0 commit comments