utility/ccc: add setupOpts option (#1294)

* utility/ccc: add inputs and outputs options

Added `ccc.nvim` options `vim.utility.ccc.inputs` and
`vim.utility.ccc.outputs` to make input color systems and output color
formats configurable.

* utility/ccc: add setupOpts option

Added `ccc.nvim` option `vim.utility.ccc.setupOpts` with the existing
hard-coded options as default values.

* utility/ccc: no hidden mapping, better types

 - Remove hidden mapping input/output options into luaInline with
   prefixes.
 - Update types of setupOpts sub-options to avoid large blocks of
   inline Lua in the configuration.

* utility/ccc: properly format with alejandra
This commit is contained in:
Jens Feodor Nielsen 2026-01-05 16:29:19 +01:00 committed by GitHub
commit 1bf757685b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 148 additions and 36 deletions

View file

@ -6,3 +6,10 @@
- Fix `vim.tabline.nvimBufferline` where `setupOpts.options.hover` requires
`vim.opt.mousemoveevent` to be set.
[jfeo](https://github.com/jfeo):
[ccc.nvim]: https://github.com/uga-rosa/ccc.nvim
- Added [ccc.nvim] option {option}`vim.utility.ccc.setupOpts` with the existing
hard-coded options as default values.