Colorizer not working
Describe the bug Colorizer is not working on all the files
To Reproduce Steps to reproduce the behavior: Just check with few different files like, .zshrc and any css file
Screenshots I have attached SS
Desktop (please complete the following information): Debian Terminator
Colorizer is working on my .zshrc file but not on css file, why ? any instructions. what am I doing wrong ? Please suggest
even it works on any random text file
@aamijasmin i didnt code this colorizer plugin and looks like a complex mess, so i made a minimal one! within a week that will be made default, the development is going on in clean branch of UI repo
@aamijasmin i didnt code this colorizer plugin and looks like a complex mess, so i made a minimal one! within a week that will be made default, the development is going on in clean branch of UI repo我并未编写这个色彩化插件,它看起来复杂混乱,所以我做了一个极简版的!预计一周内它将成为默认设置,开发工作正在 UI 仓库的干净分支上进行
Thx for your effort, but I found adding this to my /plugins/init.lua could fix some problems.
{
"NvChad/nvim-colorizer.lua",
event = "BufEnter",
config = true,
},
It uses config=true to override the default setting of NVChad, which can cause:
- When opened with sessionManager session autoread, color works.
- If a buffer is closed(<leader> + x, maybe hidden) and reopened, the color goes.
@aamijasmin are you still having issues with this? I have made changes in the codebase so this may have been fixed. Let me know if you are still having issues.
Reopen issue if you still have problems