Bug: Colorisation stops when using the colorscheme command
darida12321 opened this issue · 2 comments
darida12321 commented
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?
Matts966 commented
maybe related to
korniychuk commented
fixed here https://github.com/NvChad/nvim-colorizer.lua