norcalli/nvim-colorizer.lua

Bug: Colorisation stops when using the colorscheme command

darida12321 opened this issue · 2 comments

Describe the bug
after changing color scheme, the created highlight groups get deleted (for most color schemes) and it disables highlighting

To Reproduce
use a color scheme such as tokyonight, gruvbox, etc...
open up file with colorization
reload color scheme

Suggestion
I'm relatively new to nvim and lua, but maybe something like an autocmd could work that executes the function again?

maybe related to

cocopon/iceberg.vim#90