Replies: 3 comments 2 replies
-
A really simple solution is offered by mnw, the low-level wrapper nvf is powered by since 0.7. To add a plugin to nvf's runtime you can
vim.startPlugins = [{
pname = "customPlugin";
version = "1";
src = pkgs.fetchFromGitHub {
owner = "";
repo = "";
ref = "";
hash = "";
};
# Whether to place plugin in /start or /opt
optional = false;
# Plugins can have other plugins as dependencies
# this is mainly used in nixpkgs
# avoid it if possible
dependencies = [];
}] The process is described in mnw's option documentation. |
Beta Was this translation helpful? Give feedback.
0 replies
-
So I tried using the second option and I get following error:
Config:
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi ...would someone be able to outline what the mnw wrapper does? Do we need to alter our configuration in any way? |
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
Uh oh!
There was an error while loading. Please reload this page.
-
I feel like there is no simple explanation on how to actually use plugin that's not packaged in nixpkgs and not included in nvf. I was trying to use https://github.com/f-person/auto-dark-mode.nvim to enable dynamic theme switching but I just can't wrap my head around this issue. I think this could also be an answer to this discussion: #555
If there is no way of using plugins from outside of nixpkgs, how do you package it so I can easily use it within nvf?
Beta Was this translation helpful? Give feedback.
All reactions