cbochs / grapple.nvim

Neovim plugin for tagging important files
MIT License
545 stars 20 forks source link

fix: resetting a loaded scope should unwatch any cached values #103

Closed cbochs closed 7 months ago

cbochs commented 7 months ago

Context

A scope that is cached may have an autocommand or timer still running when it is reset. This causes the scope to be reloaded even after a reset has been requested. Make sure that the cache stops watching before resetting.