Custom Plugin Require Failure #2878
-
I have faced this after a recent update. It seems to be a lack of understanding at my side. (I am refactoring the config and for now that is bare minimum and still I am getting the issue) { pkgs, inputs, helpers, config, ... }:
{
extraPlugins = [
(pkgs.vimUtils.buildVimPlugin {
name = "oil-vcs-status";
src = inputs.oil-vcs-status;
})
];
plugins.oil = {
enable = true;
settings = {
skip_confirm_for_simple_edits = true;
win_options = {
wrap = true;
signcolumn = "yes:2";
};
float = {
padding = 5;
border = config.nvix.border;
};
view_options = {
show_hidden = true;
is_always_hidden = helpers.mkRaw # lua
''
function(name,_)
return name == ".." or name == ".git"
end
'';
};
keymaps = {
"<s-CR>" = "actions.parent";
"<CR>" = "actions.select";
"gp" = "actions.preview";
"q" = "actions.close";
"<c-CR>" = "actions.open_cwd";
};
};
};
} flake.nix inputs.oil-vcs-status = {
url = "github:SirZenith/oil-vcs-status";
flake = false;
};
|
Beta Was this translation helpful? Give feedback.
Answered by
GaetanLepage
Jan 21, 2025
Replies: 1 comment 4 replies
-
Yes, this is a new automatic testing mechanism introduced in |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
niksingh710
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, this is a new automatic testing mechanism introduced in
buildVimPlugin
.As a quick fix, you could set
doCheck = false;
.Otherwise, you could add the problematic modules to
nvimSkipModule
.See this file for examples.