Reset tag data on command change.

This commit is contained in:
Xinhao Yuan 2021-02-15 12:48:51 -05:00
parent a8964c493e
commit fccc051737
1 changed files with 1 additions and 0 deletions

View File

@ -176,6 +176,7 @@ function module.create(args_or_name, editor, default_cmd)
if instance.cmd ~= cmd then
instance.cmd = cmd
instance.regions_cache = {}
instance.tag_data = {}
end
end