Add neopywal plugin to nixvim #2618
Unanswered
GoGoGadgetGitHub
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone I'm having allot of trouble figuring this out and I'm hoping someone can help me.
I did read the docs about adding plugins not packaged in nix packages but I'm still pretty confused on this topic. From what i've gathered there are two ways of doing this. One is to use build it using
packages.FetchFromGit
and the second is adding the plugin as an input in my flake and then adding it tovimPlugins
using overlays. (I'll admit i'm really new to nix and i don't know what i'm doing so bare with me please). I opted for the latter since this would mean i don't have to update the hash of the plugin myself.I followed some instructions i found on yt and came up with the following. Please feel free to correct me in any way.
Here is what i'm doing in my flake:
Then i'm enabling nixvim through home manager in a file called nixvim.nix (this is ofc imported into my home.nix):
Then in neopywal-vim.nix, i'm attempting to add the plugin to
vimPlugins
:Trying to build i just get
error: attribute 'neopywal' missing
. Which indicates to me that I'm adding to plugin to vimPlugins incorrectly.Beta Was this translation helpful? Give feedback.
All reactions