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

Colorizer doesn't work on second buffer opened

Open mTvare6 opened this issue 1 year ago • 4 comments

Describe the bug Colorizer plugin doesn't work when opening second buffer in same instance.

To Reproduce Steps to reproduce the behavior: Open a first instance, may contain hexes. Then open another buffer in the same instances which has hexes.

Expected behavior Colorizer should work showing colors.

Screenshots pic-full-240715-2157-16

Desktop (please complete the following information):

  • Operating System: linux 6.9.7 kernel
  • Terminal: alacritty
  • Version of Neovim: v0.10.0

mTvare6 avatar Jul 15 '24 16:07 mTvare6

I am sure this has something to do with either lazy loading or nvchad configs, because in older packer based one using original colorizer there was no issue.

mTvare6 avatar Jul 16 '24 04:07 mTvare6

@mTvare6 sadly this repo's dead and I didnt code any of it unlike all other nvchad repos, I tried learning it but failed cuz of the huge mess :fearful:

i wrote a minimal last month! https://github.com/NvChad/ui/pull/297#issuecomment-2249077934, will soon let users know when its ready

siduck avatar Jul 24 '24 23:07 siduck

@siduck seeing this only now, but maybe this should be top priority? Because nvchad repo has repo issues open but it's dependency(and house owned) is buggy

mTvare6 avatar Aug 01 '24 04:08 mTvare6

@mTvare6 in 1-2 days , i'll release some docs, you can try the clean branch of ui repo to test the colorify, its enabled by default

siduck avatar Aug 01 '24 04:08 siduck