uga-rosa/ccc.nvim

CccPick and highlighter won't detect multiple hsl or multiple rgb colors in the same line

Closed this issue · 1 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

asciicast

Environments

fedora x86
neovim 0.8.3
packer.nvim - Total plugins: 10
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• Comment.nvim
• ccc.nvim
• gruvbox.nvim
• indent-blankline.nvim
• lualine.nvim
• nvim-colorizer.lua
• nvim-treesitter
• nvim-web-devicons
• packer.nvim
• twilight.nvim

Minimal reproducible full config

did :PackerCompile with this config

-- PLUGINS --
return require("packer").startup(function(use)
  use "wbthomason/packer.nvim"
  use {
    "uga-rosa/ccc.nvim",
    config = function()
      require("ccc").setup()
    end
  }
end}

Steps to reproduce

insert multiple hsl or multiple rgb colors in the same line and enable highlighter

Expected behavior

detects and highlights colors

Actual behavior

only detects and highlights the first color

Additional context

No response

Thank you for reporting.
Please check it out, I fixed it.