-
I'm currently rewriting my current neovim config to use nixvim, and I have a few plugins that are not supported directly by nixvim, and doesn't seem to be in the nixpkgs repos either. I do see that nixvim does support also using something like Lazy, but the docs for how to use it are pretty vuage. I tried doing something like the following but, in doing so results in a failure when I run home-manager: programs.nixvim = {
plugins = {
lazy = {
enable = true;
plugins = [
{
name = "laytan/cloak.nvim";
opts = ''
{
enabled = true,
cloak_character = "*",
highlight_group = "Comment",
patterns = {
{
file_pattern = {
".env*",
"*.toml",
},
cloak_pattern = {
"=.+",
":.+",
"-.+",
},
},
},
}
'';
}
];
};
};
}; When I do a
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Well using We have two entries in the FAQ to do it the "main way": If you still want to use |
Beta Was this translation helpful? Give feedback.
Well using
lazy
is not really in the nixvim model (it is supported, but not the main path we think about let's say).We have two entries in the FAQ to do it the "main way":
If you still want to use
lazy
you would be able to setpkg = pkgs.vimUtils.buildVimPlugin ....
I think.