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

Feature Request: Disable colorizer in large files

Open CWood-sdf opened this issue 11 months ago • 1 comments

I have a very specific problem: I created a plugin that aggregates all the color data for all neovim themes across all of github. All of the color data ends up in one single json file that is about 657k lines long. Whenever I enter this file, colorizer causes neovim to throw an error because there are too many highlights in the buffer.

Proposal

I would like a way to disable nvim-colorizer based on file line count in COLORIZER_SETUP_HOOK. If you want, I could put a PR for this together in a few hours

CWood-sdf avatar Feb 22 '25 05:02 CWood-sdf

+1

rubiin avatar Nov 11 '25 19:11 rubiin