Where can I find the value for [1]
?
#16
-
I'm currently moving my configuration from Lazy.nvim to lz.n combined with Home-Manager (for Nix). Where can I find the value for Thank you for making this :) I'm looking forward to using it. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey 👋
In rare cases, you need to be careful, because the repo name and plugin name can differ. With Nix, it's best to look at the
I'll see if I can come up with something 😃 |
Beta Was this translation helpful? Give feedback.
Hey 👋
[1]
is the name of the plugin that is passed toload(name)
(which defaults to:h packadd
).Depending on what you're using to manage your plugins, that could vary, but it's usually the same as the repo name or plugin name.
In rare cases, you need to be careful, because the repo name and plugin name can differ. With Nix, it's best to look at the
pname
attribute of the package.For example, for the vimPlugins.catppuccin-nvim package, the repo is just called
nvim
, but thepname
iscatppuccin.nvim
. So with Nix/home-manager, you would putcatppuccin.nvim
for[1]
.I'll see if I can come up…