rose-pine / neovim

Soho vibes for Neovim
MIT License
2.25k stars 144 forks source link

fix: clear autocmd when loading other colorscheme #254

Closed tomtomjhj closed 6 months ago

tomtomjhj commented 6 months ago

Problem: When switching the colorscheme from rose-pine to something else, the new colorshceme can be a bit off due to rose-pine's autocmd.

Solution: Clear the autocmd.

Ideally, it should also reset winhighlight for all windows it touched, but that requires a bit more work.

mvllow commented 6 months ago

Thank you :)