-
|
I'm using this to get rasulomaroff/reactive.nvim: {pkgs, ...}: {
programs.nvf.settings.vim.extraPlugins."reactive.nvim" = {
package = pkgs.vimUtils.buildVimPlugin {
name = "reactive.nvim";
src = pkgs.fetchFromGitHub {
owner = "rasulomaroff";
repo = "reactive.nvim";
rev = "master";
sha256 = "ox26LQIkNNutdh7OUMER2uveFhykgMRxvGoQ0nIRkkk=";
};
};
setup =
# lua
''
require("reactive").setup({
builtin = {
cursorline = true,
cursor = true,
modemsg = true
}
})
'';
};
}Works fine but I'd like to use lazy loading with event = ["BufEnter" "WinEnter"];I'm already using Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
xfzv
Jul 19, 2025
Replies: 1 comment 1 reply
-
|
Tried this: {pkgs, ...}: {
programs.nvf.settings.vim.lazy.plugins."vimplugin-reactive.nvim" = {
package = pkgs.vimUtils.buildVimPlugin {
name = "reactive.nvim";
src = pkgs.fetchFromGitHub {
owner = "rasulomaroff";
repo = "reactive.nvim";
rev = "master";
sha256 = "ox26LQIkNNutdh7OUMER2uveFhykgMRxvGoQ0nIRkkk=";
};
};
setupModule = "reactive";
setupOpts = {
builtin = {
cursorline = true;
cursor = true;
modemsg = true;
};
};
event = ["BufEnter" "WinEnter"];
};
}No error when rebuilding the system but the plug-in doesn't work. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I eventually figured it out. This works: