nvim-colorizer.lua
nvim-colorizer.lua copied to clipboard
Feature Request: Disable colorizer in large files
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
+1