2024-12-19 00:47:21 +01:00
|
|
|
{ lib, ... }:
|
2024-12-22 09:58:27 +00:00
|
|
|
lib.nixvim.plugins.mkNeovimPlugin {
|
2024-12-19 00:47:21 +01:00
|
|
|
name = "crates";
|
|
|
|
packPathName = "crates.nvim";
|
|
|
|
package = "crates-nvim";
|
2025-06-18 02:42:47 +03:00
|
|
|
description = "A neovim plugin that helps managing crates.io dependencies.";
|
2024-12-19 00:47:21 +01:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|