Skip to content

Commit e451e0c

Browse files
pnwatinPriceHiller
andauthored
fix: add missing node_id
Co-authored-by: Price Hiller <[email protected]>
1 parent bb65adf commit e451e0c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lua/nvim-ts-autotag/internal.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ local function is_in_template_tag()
4646
local current_node = cursor_node
4747
local visited_nodes = {}
4848
while not (has_element and has_template_string) and current_node do
49+
local node_id = current_node:id()
4950
if visited_nodes[node_id] then
5051
break
5152
end

0 commit comments

Comments
 (0)