davraamides / todotxt-mode

MIT License
59 stars 12 forks source link

Note tag hover shows note content more than once #42

Closed willburden closed 2 years ago

willburden commented 2 years ago

I've encountered a bug where the popup shown when you hover over a note:filename.md tag shows the note content more than once:

Screenshot from 2021-11-16 18-18-25

This happens because the hover provider isn't being properly disposed of so if the extension gets activated and then deactivated and reactivated for whatever reason, you end up with multiple hover providers. I'll create a pull request with the suggested fix :)