nvim-colorizer.lua icon indicating copy to clipboard operation
nvim-colorizer.lua copied to clipboard

Colorizer not working

Open aamijasmin opened this issue 1 year ago • 2 comments

Aug04::105727

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 Aug04::111207

aamijasmin avatar Aug 04 '24 05:08 aamijasmin

@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

siduck avatar Aug 04 '24 09:08 siduck

@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:

  1. When opened with sessionManager session autoread, color works.
  2. If a buffer is closed(<leader> + x, maybe hidden) and reopened, the color goes.

MusherM avatar Aug 08 '24 10:08 MusherM

@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.

catgoose avatar Nov 19 '24 13:11 catgoose

Reopen issue if you still have problems

catgoose avatar Dec 23 '24 14:12 catgoose