mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
**Problem:** When enabling document_color multiple times for the same buffer (or when toggling it on and off), duplicate autocmds are created since the previous ones are not cleared. **Solution:** Clear the appropriate buffer-local autocmds when enabling/disabling document color functionality.