1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-08 19:46:06 +01:00
nixvim/plugins/by-name/crates/default.nix
saygo-png c4b27080a6 treewide: infer packPathName menial work
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-09-27 23:49:59 +00:00

32 lines
707 B
Nix

{ lib, ... }:
lib.nixvim.plugins.mkNeovimPlugin {
name = "crates";
package = "crates-nvim";
description = "A neovim plugin that helps managing crates.io dependencies.";
maintainers = [ lib.maintainers.GaetanLepage ];
imports = [
{ cmpSourcePlugins.crates = "crates"; }
]
++
# TODO introduced 2024-12-12: remove after 25.05
lib.nixvim.mkSettingsRenamedOptionModules [ "plugins" "crates-nvim" ]
[ "plugins" "crates" ]
[
"enable"
"package"
{
old = "extraOptions";
new = "settings";
}
];
settingsOptions = { };
settingsExample = {
smart_insert = true;
autoload = true;
autoupdate = true;
};
}