Skip to content

How to fix lua checks failing on a custom plugin? #3605

@Mach1212

Description

@Mach1212

I wanted to add "colorful-menu" as recommended by blink-cmp.
However some checks fail...
Image

I've seen lib.nixvim.utils.enableExceptInTests but am unsure if that applies to my situation. I have also read I can add dependencies to the plugin to fix the tests. Not sure how to do that either.

Please give me

  • resources to learn.
  • An example idiomatic solution

Here is how I've setup the plugin:

{pkgs, ...}: {
  extraPlugins = with pkgs; [
    (vimUtils.buildVimPlugin
      {
        pname = "colorful-menu";
        version = "latest";
        src = vimPlugins.colorful-menu-nvim;
        meta.homepage = "https://github.com/xzbdmw/colorful-menu.nvim";
      })
  ];
  extraConfigLua =
    #lua
    ''
      require("colorful-menu").setup({})
    '';
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions