Skip to content

Compiler tries to load integration plugins #1

@tandetat

Description

@tandetat

Hi,

I was testing this colorscheme and I realized it was loading a bunch of plugins at startup. Looking at the code, I saw that the compiler tries to load all integration plugins with pcall. This is not ideal if the user wants to lazy-load some of the plugins.

I believe you can define highlight groups for plugins without actually loading the plugins themselves. For example, kanagawa does this here.

I liked the modularity of the plugins approach but I think it would be better to just define all plugins' highlights without checking if they are there or not.

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