Skip to content

Commit 5d96868

Browse files
committed
fix: deepcopy tags before returning in Grapple.tags
1 parent 8903901 commit 5d96868

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/grapple.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ function Grapple.tags(opts)
334334
return nil, err
335335
end
336336

337-
return tags, nil
337+
return vim.deepcopy(tags), nil
338338
end
339339

340340
---Return a formatted string to be displayed on the statusline

0 commit comments

Comments
 (0)