Skip to content

Feature Request: Disable colorizer in large files #110

@CWood-sdf

Description

@CWood-sdf

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions