mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
31 lines
660 B
Nix
31 lines
660 B
Nix
{ lib, ... }:
|
|
lib.nixvim.plugins.mkNeovimPlugin {
|
|
name = "crates";
|
|
packPathName = "crates.nvim";
|
|
package = "crates-nvim";
|
|
|
|
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;
|
|
};
|
|
}
|