uga-rosa/ccc.nvim

CccPick not working correctly

Jlchong3 opened this issue · 4 comments

Not a question

  • This is not a question. If you have a question, use discussions.

I investigated.

  • I have read README.md, help documentation, and searched past issues but no solution.

Description

CccPick stop showing the colors in the pickers after moving them first

Environments

Windows 11

NVIM v0.9.5
Build type: RelWithDebInfo
LuaJIT 2.1.1703942320

Minimal reproducible full config

No additional config

Steps to reproduce

Run command CccPick and try to modify color

Expected behavior

Bars changing color depending on the amount of each one

Actual behavior

It all turns gray after I try to modify the colors

Additional context

How it shows up at the begging (It works normally)
image

How it show after I start modifying
image

Please write Minimal reproducible full config properly. I can't reproduce it.

issue106

Minimal Reproducible config

local lazypath = vim.fn.stdpath 'data' .. '/lazy/lazy.nvim'
if not vim.loop.fs_stat(lazypath) then
    vim.fn.system {
        'git',
        'clone',
        '--filter=blob:none',
        'https://github.com/folke/lazy.nvim.git',
        '--branch=stable', -- latest stable release
        lazypath,
    }
end
vim.opt.rtp:prepend(lazypath)

require('lazy').setup({

	{
		'folke/tokyonight.nvim',
		config = function()
			vim.cmd.colorscheme 'tokyonight'
		end,

	},

    {
        'uga-rosa/ccc.nvim',
        opts = {
            highlighter = {
                auto_enable = true,
 
            },
        }
    },

},{})

For this config I am using Windows WSL Ubuntu, and I added a different colorscheme in case that was a problem, but the problem still persists.

I also tried the plugin with the previous version 1.7.2 and it worked correctly so there must be a problem from the lastest version.

OK, I understand. This is a bug that does not happen in nightly, but only in 0.9.5. I will try to fix it now that it is confirmed.

@uga-rosa
i have reverse situation .
when i pick the color - bars are white, and when i start to modify colors (left or right move) all is ok....
i use nightly version of nvim